⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nsbutton.h

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 H
字号:
///////////////////////////////////////////////////////////////////////////////// Name:        wx/cocoa/NSButton.h// Purpose:     wxCocoaNSButton class// Author:      David Elliott// Modified by:// Created:     2002/12/09// RCS-ID:      $Id: NSButton.h,v 1.7 2006/03/12 15:10:23 VZ Exp $// Copyright:   (c) 2002-2004 David Elliott// Licence:     wxWindows licence///////////////////////////////////////////////////////////////////////////////#ifndef _WX_COCOA_NSBUTTON_H__#define _WX_COCOA_NSBUTTON_H__#include "wx/hashmap.h"#include "wx/cocoa/ObjcAssociate.h"#include "wx/cocoa/ObjcRef.h"WX_DECLARE_OBJC_HASHMAP(NSButton);class wxCocoaNSButton{    WX_DECLARE_OBJC_INTERFACE_HASHMAP(NSButton);public:    void AssociateNSButton(WX_NSButton cocoaNSButton);    void DisassociateNSButton(WX_NSButton cocoaNSButton)    {        if(cocoaNSButton)            sm_cocoaHash.erase(cocoaNSButton);    }    virtual void Cocoa_wxNSButtonAction(void) = 0;    virtual ~wxCocoaNSButton() { }protected:    static const wxObjcAutoRefFromAlloc<struct objc_object*> sm_cocoaTarget;};#endif // _WX_COCOA_NSBUTTON_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -