X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0c691d13c4bf3e537a6b1de8d69bb30f9538776..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/cocoa/NSControl.h diff --git a/include/wx/cocoa/NSControl.h b/include/wx/cocoa/NSControl.h index 92785ac86d..5df066909a 100644 --- a/include/wx/cocoa/NSControl.h +++ b/include/wx/cocoa/NSControl.h @@ -6,7 +6,7 @@ // Created: 2003/02/15 // RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_NSCONTROL_H__ @@ -22,6 +22,9 @@ class wxCocoaNSControl public: virtual void CocoaTarget_action() {} // virtual void Cocoa_didChangeText(void) = 0; + + virtual ~wxCocoaNSControl() { } + protected: static struct objc_object *sm_cocoaTarget; };