]> git.saurik.com Git - wxWidgets.git/commitdiff
enabling menu close event, fixes #15069
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 28 Feb 2013 18:11:35 +0000 (18:11 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 28 Feb 2013 18:11:35 +0000 (18:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/menu.mm

index 760f159263c302440136f66ee3c13eba694b9df6..70e4fc3aaf6fb0b277cef538f910d48bc5b8561a 100644 (file)
@@ -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
             wxpeer->HandleMenuOpened();
     }
 }
+#endif
 
 - (void)menuDidClose:(NSMenu *)smenu
 {
             wxpeer->HandleMenuClosed();
     }
 }
-#endif
 
 - (void)menu:(NSMenu *)smenu willHighlightItem:(NSMenuItem *)item
 {