X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccef86c75da7844d15435f4093bf992f60786cea..27bb2b7cea271d91e272452ff361f948e38dc539:/docs/latex/wx/menuevt.tex diff --git a/docs/latex/wx/menuevt.tex b/docs/latex/wx/menuevt.tex index aa6f00b5c9..d6cab4486b 100644 --- a/docs/latex/wx/menuevt.tex +++ b/docs/latex/wx/menuevt.tex @@ -1,7 +1,11 @@ \section{\class{wxMenuEvent}}\label{wxmenuevent} This class is used for a variety of menu-related events. Note that -these do not include menu command events. +these do not include menu command events, which are +handled using \helpref{wxCommandEvent}{wxcommandevent} objects. + +The handler \helpref{wxFrame::OnMenuHighlight}{wxframeonmenuhighlight} displays help +text in the first field of the status bar. \wxheading{Derived from} @@ -22,7 +26,7 @@ functions that take a wxMenuEvent argument. \twocolitem{{\bf EVT\_MENU\_OPEN(func)}}{A menu is about to be opened.} \twocolitem{{\bf EVT\_MENU\_CLOSE(func)}}{A menu has been just closed.} \twocolitem{{\bf EVT\_MENU\_HIGHLIGHT(id, func)}}{The menu item with the -speicifed id has been highlighted: used to show help prompts in the status bar +specified id has been highlighted: used to show help prompts in the status bar by \helpref{wxFrame}{wxframe}} \twocolitem{{\bf EVT\_MENU\_HIGHLIGHT\_ALL(func)}}{A menu item has been highlighted, i.e. the currently selected menu item has changed.} @@ -58,8 +62,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.