X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e668651137922bee36b5773d638aa696e78854d1..ca3b3fbb110db4472e6fc6ea3dfca99760ffc58e:/include/wx/cocoa/NSControl.h diff --git a/include/wx/cocoa/NSControl.h b/include/wx/cocoa/NSControl.h index 36233401c2..21634483b4 100644 --- a/include/wx/cocoa/NSControl.h +++ b/include/wx/cocoa/NSControl.h @@ -4,9 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/02/15 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_NSCONTROL_H__ @@ -19,8 +19,14 @@ 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_