X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af27ce842e2285c1d111e52d8668b02e3ce74f61..9eb5cd3b1fde80564d9c67afea154448a33836a1:/include/wx/cocoa/NSMenu.h diff --git a/include/wx/cocoa/NSMenu.h b/include/wx/cocoa/NSMenu.h index 5d8ac3bb9b..146b9d66b7 100644 --- a/include/wx/cocoa/NSMenu.h +++ b/include/wx/cocoa/NSMenu.h @@ -34,11 +34,12 @@ public: , OBSERVE_DidSendAction = 0x08 , OBSERVE_WillSendAction = 0x10 }; - void CocoaNotification_menuDidAddItem(WX_NSNotification notification) {} - void CocoaNotification_menuDidChangeItem(WX_NSNotification notification) {} - void CocoaNotification_menuDidRemoveItem(WX_NSNotification notification) {} - void CocoaNotification_menuDidSendAction(WX_NSNotification notification) {} - void CocoaNotification_menuWillSendAction(WX_NSNotification notification) {} + virtual void Cocoa_dealloc() {} + virtual void CocoaNotification_menuDidAddItem(WX_NSNotification notification) {} + virtual void CocoaNotification_menuDidChangeItem(WX_NSNotification notification) {} + virtual void CocoaNotification_menuDidRemoveItem(WX_NSNotification notification) {} + virtual void CocoaNotification_menuDidSendAction(WX_NSNotification notification) {} + virtual void CocoaNotification_menuWillSendAction(WX_NSNotification notification) {} protected: static struct objc_object *sm_cocoaObserver; };