From: David Elliott Date: Fri, 5 Sep 2003 14:59:51 +0000 (+0000) Subject: Changed CocoaNotification parameter names to notification from userInfo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/af27ce842e2285c1d111e52d8668b02e3ce74f61 Changed CocoaNotification parameter names to notification from userInfo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/cocoa/NSMenu.h b/include/wx/cocoa/NSMenu.h index c0ce05205e..5d8ac3bb9b 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) {} + 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) {} protected: static struct objc_object *sm_cocoaObserver; };