]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/NSControl.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/NSControl.h
3 // Purpose: wxCocoaNSControl class
4 // Author: David Elliott
8 // Copyright: (c) 2003 David Elliott
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef __WX_COCOA_NSCONTROL_H__
13 #define __WX_COCOA_NSCONTROL_H__
15 #include "wx/hashmap.h"
16 #include "wx/cocoa/ObjcAssociate.h"
18 WX_DECLARE_OBJC_HASHMAP(NSControl
);
19 class wxCocoaNSControl
21 WX_DECLARE_OBJC_INTERFACE(NSControl
)
23 virtual void CocoaTarget_action() {}
24 // virtual void Cocoa_didChangeText(void) = 0;
26 virtual ~wxCocoaNSControl() { }
29 static struct objc_object
*sm_cocoaTarget
;
32 #endif // _WX_COCOA_NSCONTROL_H_