\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
\latexignore{\rtfignore{\wxheading{Members}}}
-\membersection{wxMenuEvent::wxMenuEvent}
-\func{}{wxMenuEvent}{\param{WXTYPE }{id = 0}, \param{int }{id = 0}, \param{wxDC* }{dc = NULL}}
+\membersection{wxMenuEvent::wxMenuEvent}\label{wxmenueventctor}
+
+\func{}{wxMenuEvent}{\param{WXTYPE }{id = 0}, \param{int }{id = 0}, \param{wxMenu* }{menu = NULL}}
Constructor.
-\membersection{wxMenuEvent::m\_menuId}
-\member{int}{m\_menuId}
+\membersection{wxMenuEvent::GetMenu}\label{wxmenueventgetmenu}
+
+\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.
-The relevant menu identifier.
\membersection{wxMenuEvent::GetMenuId}\label{wxmenueventgetmenuid}
Returns the menu identifier associated with the event. This method should be
only used with the {\tt HIGHLIGHT} events.
+
\membersection{wxMenuEvent::IsPopup}\label{wxmenueventispopup}
\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.
-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.