X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..a552d1201fd615730d7c0662a65df306fe18c274:/include/wx/cocoa/NSControl.h?ds=sidebyside diff --git a/include/wx/cocoa/NSControl.h b/include/wx/cocoa/NSControl.h index 1eb7b72905..5df066909a 100644 --- a/include/wx/cocoa/NSControl.h +++ b/include/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; };