X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71c749e1d20dfa1dfa8e51c727562edf02cd9729..11ef729d54ee338a1d569b5a238c2feb84d488ff:/docs/latex/wx/menuevt.tex diff --git a/docs/latex/wx/menuevt.tex b/docs/latex/wx/menuevt.tex index 5bc1600cb8..46f9e20883 100644 --- a/docs/latex/wx/menuevt.tex +++ b/docs/latex/wx/menuevt.tex @@ -19,7 +19,8 @@ text in the first field of the status bar. \wxheading{Event table macros} To process a menu event, use these event handler macros to direct input to member -functions that take a wxMenuEvent argument. +functions that take a wxMenuEvent argument. They can only be processed by +a menubar's frame. \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt @@ -41,25 +42,18 @@ highlighted, i.e. the currently selected menu item has changed.} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxMenuEvent::wxMenuEvent} +\membersection{wxMenuEvent::wxMenuEvent}\label{wxmenueventctor} -\func{}{wxMenuEvent}{\param{WXTYPE }{id = 0}, \param{int }{id = 0}, \param{wxDC* }{dc = NULL}} +\func{}{wxMenuEvent}{\param{WXTYPE }{id = 0}, \param{int }{id = 0}, \param{wxMenu* }{menu = NULL}} Constructor. -\membersection{wxMenuEvent::m\_menuId} - -\member{int}{m\_menuId} - -The relevant menu identifier. - - \membersection{wxMenuEvent::GetMenu}\label{wxmenueventgetmenu} \constfunc{wxMenu *}{GetMenu}{\void} -Returns the menu which is being opened or closed. This method should be only +Returns the menu which is being opened or closed. This method should only be used with the \texttt{OPEN} and \texttt{CLOSE} events. @@ -78,6 +72,6 @@ only used with the {\tt HIGHLIGHT} events. 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. +This method should only be used with the {\tt OPEN} and {\tt CLOSE} events.