X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..6f63704ff4db9da6976547a1378d7e85b966eea7:/docs/latex/wx/menuevt.tex diff --git a/docs/latex/wx/menuevt.tex b/docs/latex/wx/menuevt.tex index d5a7f29a39..6b20a2e9c3 100644 --- a/docs/latex/wx/menuevt.tex +++ b/docs/latex/wx/menuevt.tex @@ -4,7 +4,7 @@ This class is used for a variety of menu-related events. Note that these do not include menu command events, which are handled using \helpref{wxCommandEvent}{wxcommandevent} objects. -The handler \helpref{wxFrame::OnMenuHighlight}{wxframeonmenuhighlight} displays help +The default handler for wxEVT\_MENU\_HIGHLIGHT displays help text in the first field of the status bar. \wxheading{Derived from} @@ -23,7 +23,8 @@ functions that take a wxMenuEvent argument. \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_MENU\_OPEN(func)}}{A menu is about to be opened.} +\twocolitem{{\bf EVT\_MENU\_OPEN(func)}}{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).} \twocolitem{{\bf EVT\_MENU\_CLOSE(func)}}{A menu has been just closed.} \twocolitem{{\bf EVT\_MENU\_HIGHLIGHT(id, func)}}{The menu item with the specified id has been highlighted: used to show help prompts in the status bar @@ -62,8 +63,8 @@ only used with the {\tt HIGHLIGHT} events. \constfunc{bool}{IsPopup}{\void} -Returns {\tt TRUE} if the menu which is being opened or closed is a popup menu, -{\tt FALSE} if it is a normal one. +Returns {\tt true} if the menu which is being opened or closed is a popup menu, +{\tt false} if it is a normal one. This method should be only used with the {\tt OPEN} and {\tt CLOSE} events.