From 58ab4de42abd03c2bebb58339b61895a4c2c85c5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 14 Oct 2013 15:08:53 +0000 Subject: [PATCH] Document that wxEVT_MENU_CLOSE can come before wxEVT_MENU. This is somewhat unexpected but is how both wxMSW and wxGTK work currently, so just document the current behaviour. See #15479. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/wx/event.h b/interface/wx/event.h index a71070392d..a736f9f12b 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -4102,7 +4102,8 @@ public: A menu is about to be opened. On Windows, this is only sent once for each navigation of the menubar (up until all menus have closed). @event{EVT_MENU_CLOSE(func)} - A menu has been just closed. + A menu has been just closed. Notice that this event is currently being + sent before the menu selection (@c wxEVT_MENU) event, if any. @event{EVT_MENU_HIGHLIGHT(id, func)} The menu item with the specified id has been highlighted: used to show help prompts in the status bar by wxFrame