X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0599486175c95fd5576c2c60687c5b58db2f4619..e0976f6db35b304f16519437c9d9e2450a373783:/docs/latex/wx/menuevt.tex diff --git a/docs/latex/wx/menuevt.tex b/docs/latex/wx/menuevt.tex index 0f9a238647..a6d1d45d36 100644 --- a/docs/latex/wx/menuevt.tex +++ b/docs/latex/wx/menuevt.tex @@ -16,10 +16,15 @@ text in the first field of the status bar. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \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 @@ -43,7 +48,7 @@ highlighted, i.e. the currently selected menu item has changed.} \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. @@ -53,7 +58,8 @@ Constructor. \constfunc{wxMenu *}{GetMenu}{\void} Returns the menu which is being opened or closed. This method should only be -used with the \texttt{OPEN} and \texttt{CLOSE} events. +used with the \texttt{OPEN} and \texttt{CLOSE} events and even for them the +returned pointer may be \NULL in some ports. \membersection{wxMenuEvent::GetMenuId}\label{wxmenueventgetmenuid}