X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bcf014878689fa97b8c67372ad616a398b245807..9692f42bc6c74ecc4bc4b8dc1b185894ed1b6cbf:/include/wx/cocoa/NSMenu.h?ds=sidebyside diff --git a/include/wx/cocoa/NSMenu.h b/include/wx/cocoa/NSMenu.h index c0ce05205e..4d5df93f2a 100644 --- a/include/wx/cocoa/NSMenu.h +++ b/include/wx/cocoa/NSMenu.h @@ -34,11 +34,11 @@ public: , OBSERVE_DidSendAction = 0x08 , OBSERVE_WillSendAction = 0x10 }; - void CocoaNotification_menuDidAddItem(WX_NSNotification userInfo) {} - void CocoaNotification_menuDidChangeItem(WX_NSNotification userInfo) {} - void CocoaNotification_menuDidRemoveItem(WX_NSNotification userInfo) {} - void CocoaNotification_menuDidSendAction(WX_NSNotification userInfo) {} - void CocoaNotification_menuWillSendAction(WX_NSNotification userInfo) {} + 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; };