X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb896a322a2ed53d393ee738765ddd3f72cee004..9eaadb1b8c3963bd1e2a8abc9ecc67375081dd05:/include/wx/cocoa/NSControl.h diff --git a/include/wx/cocoa/NSControl.h b/include/wx/cocoa/NSControl.h index b821ca85ba..5df066909a 100644 --- a/include/wx/cocoa/NSControl.h +++ b/include/wx/cocoa/NSControl.h @@ -6,21 +6,27 @@ // Created: 2003/02/15 // RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_NSCONTROL_H__ #define __WX_COCOA_NSCONTROL_H__ #include "wx/hashmap.h" -#include "wx/cocoa/ObjcPose.h" +#include "wx/cocoa/ObjcAssociate.h" WX_DECLARE_OBJC_HASHMAP(NSControl); class wxCocoaNSControl { WX_DECLARE_OBJC_INTERFACE(NSControl) -protected: +public: + virtual void CocoaTarget_action() {} // virtual void Cocoa_didChangeText(void) = 0; + + virtual ~wxCocoaNSControl() { } + +protected: + static struct objc_object *sm_cocoaTarget; }; #endif // _WX_COCOA_NSCONTROL_H_