X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3312496dcc0c6af091defb616d24ea1763df235a..08202189cbf2f78d932f85b9733b69e24f08e58c:/include/wx/cocoa/NSMenu.h?ds=inline diff --git a/include/wx/cocoa/NSMenu.h b/include/wx/cocoa/NSMenu.h index 146b9d66b7..281bf55d4d 100644 --- a/include/wx/cocoa/NSMenu.h +++ b/include/wx/cocoa/NSMenu.h @@ -40,6 +40,8 @@ public: virtual void CocoaNotification_menuDidRemoveItem(WX_NSNotification notification) {} virtual void CocoaNotification_menuDidSendAction(WX_NSNotification notification) {} virtual void CocoaNotification_menuWillSendAction(WX_NSNotification notification) {} + virtual ~wxCocoaNSMenu() { } + protected: static struct objc_object *sm_cocoaObserver; };