X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3312496dcc0c6af091defb616d24ea1763df235a..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/cocoa/NSMenu.h?ds=sidebyside diff --git a/include/wx/cocoa/NSMenu.h b/include/wx/cocoa/NSMenu.h index 146b9d66b7..6438f1e02d 100644 --- a/include/wx/cocoa/NSMenu.h +++ b/include/wx/cocoa/NSMenu.h @@ -35,11 +35,13 @@ public: , OBSERVE_WillSendAction = 0x10 }; 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) {} + virtual void CocoaNotification_menuDidAddItem(WX_NSNotification WXUNUSED(notification)) {} + virtual void CocoaNotification_menuDidChangeItem(WX_NSNotification WXUNUSED(notification)) {} + virtual void CocoaNotification_menuDidRemoveItem(WX_NSNotification WXUNUSED(notification)) {} + virtual void CocoaNotification_menuDidSendAction(WX_NSNotification WXUNUSED(notification)) {} + virtual void CocoaNotification_menuWillSendAction(WX_NSNotification WXUNUSED(notification)) {} + virtual ~wxCocoaNSMenu() { } + protected: static struct objc_object *sm_cocoaObserver; };