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
This commit is contained in:
Vadim Zeitlin
2013-10-14 15:08:53 +00:00
parent b3b93c582a
commit 58ab4de42a

View File

@@ -4102,7 +4102,8 @@ public:
A menu is about to be opened. On Windows, this is only sent once for each 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). navigation of the menubar (up until all menus have closed).
@event{EVT_MENU_CLOSE(func)} @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)} @event{EVT_MENU_HIGHLIGHT(id, func)}
The menu item with the specified id has been highlighted: used to show The menu item with the specified id has been highlighted: used to show
help prompts in the status bar by wxFrame help prompts in the status bar by wxFrame