From a990673bb9778c4f5e781ba0b0e2a420c8cb815e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 28 Feb 2013 18:11:35 +0000 Subject: [PATCH] enabling menu close event, fixes #15069 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/menu.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osx/cocoa/menu.mm b/src/osx/cocoa/menu.mm index 760f159263..70e4fc3aaf 100644 --- a/src/osx/cocoa/menu.mm +++ b/src/osx/cocoa/menu.mm @@ -67,8 +67,8 @@ - (void)menuNeedsUpdate:(NSMenu*)smenu; #else - (void)menuWillOpen:(NSMenu *)menu; -- (void)menuDidClose:(NSMenu *)menu; #endif +- (void)menuDidClose:(NSMenu *)menu; - (void)menu:(NSMenu *)menu willHighlightItem:(NSMenuItem *)item; @end @@ -105,6 +105,7 @@ wxpeer->HandleMenuOpened(); } } +#endif - (void)menuDidClose:(NSMenu *)smenu { @@ -117,7 +118,6 @@ wxpeer->HandleMenuClosed(); } } -#endif - (void)menu:(NSMenu *)smenu willHighlightItem:(NSMenuItem *)item {