X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3312496dcc0c6af091defb616d24ea1763df235a..8ba1644391f9fd8fa7f2d2a9c102cd78a1d799cb:/include/wx/cocoa/NSMenu.h 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; };