]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSControl.h
remove unused wxAppTraits-related files
[wxWidgets.git] / include / wx / cocoa / NSControl.h
index b821ca85bad3d4b3322f17264775399bb1490d6c..5df066909ae3342c51f27d9a99fa8a2c229928e3 100644 (file)
@@ -6,21 +6,27 @@
 // Created:     2003/02/15
 // RCS-ID:      $Id: 
 // Copyright:   (c) 2003 David Elliott
 // 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"
 ///////////////////////////////////////////////////////////////////////////////
 
 #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)
 
 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 void Cocoa_didChangeText(void) = 0;
+
+    virtual ~wxCocoaNSControl() { }
+
+protected:
+    static struct objc_object *sm_cocoaTarget;
 };
 
 #endif // _WX_COCOA_NSCONTROL_H_
 };
 
 #endif // _WX_COCOA_NSCONTROL_H_