added GetMenu() (closes bug 1026662)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-09-18 09:53:20 +00:00
parent f03e9ae7a7
commit 71c749e1d2

View File

@@ -40,18 +40,29 @@ highlighted, i.e. the currently selected menu item has changed.}
\latexignore{\rtfignore{\wxheading{Members}}} \latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxMenuEvent::wxMenuEvent} \membersection{wxMenuEvent::wxMenuEvent}
\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{wxDC* }{dc = NULL}}
Constructor. Constructor.
\membersection{wxMenuEvent::m\_menuId} \membersection{wxMenuEvent::m\_menuId}
\member{int}{m\_menuId} \member{int}{m\_menuId}
The relevant menu identifier. 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
used with the \texttt{OPEN} and \texttt{CLOSE} events.
\membersection{wxMenuEvent::GetMenuId}\label{wxmenueventgetmenuid} \membersection{wxMenuEvent::GetMenuId}\label{wxmenueventgetmenuid}
\constfunc{int}{GetMenuId}{\void} \constfunc{int}{GetMenuId}{\void}
@@ -59,6 +70,7 @@ The relevant menu identifier.
Returns the menu identifier associated with the event. This method should be Returns the menu identifier associated with the event. This method should be
only used with the {\tt HIGHLIGHT} events. only used with the {\tt HIGHLIGHT} events.
\membersection{wxMenuEvent::IsPopup}\label{wxmenueventispopup} \membersection{wxMenuEvent::IsPopup}\label{wxmenueventispopup}
\constfunc{bool}{IsPopup}{\void} \constfunc{bool}{IsPopup}{\void}