X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..80752b57a9bbdfa7613a917d9ece00fc47677080:/include/wx/cocoa/NSControl.h 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; };