]>
Commit | Line | Data |
---|---|---|
1 | /////////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/cocoa/NSControl.h | |
3 | // Purpose: wxCocoaNSControl class | |
4 | // Author: David Elliott | |
5 | // Modified by: | |
6 | // Created: 2003/02/15 | |
7 | // Copyright: (c) 2003 David Elliott | |
8 | // Licence: wxWindows licence | |
9 | /////////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef __WX_COCOA_NSCONTROL_H__ | |
12 | #define __WX_COCOA_NSCONTROL_H__ | |
13 | ||
14 | #include "wx/hashmap.h" | |
15 | #include "wx/cocoa/ObjcAssociate.h" | |
16 | ||
17 | WX_DECLARE_OBJC_HASHMAP(NSControl); | |
18 | class wxCocoaNSControl | |
19 | { | |
20 | WX_DECLARE_OBJC_INTERFACE(NSControl) | |
21 | public: | |
22 | virtual void CocoaTarget_action() {} | |
23 | // virtual void Cocoa_didChangeText(void) = 0; | |
24 | ||
25 | virtual ~wxCocoaNSControl() { } | |
26 | ||
27 | protected: | |
28 | static struct objc_object *sm_cocoaTarget; | |
29 | }; | |
30 | ||
31 | #endif // _WX_COCOA_NSCONTROL_H_ |