]> git.saurik.com Git - wxWidgets.git/commitdiff
added GetMenu() (closes bug 1026662)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 18 Sep 2004 09:53:20 +0000 (09:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 18 Sep 2004 09:53:20 +0000 (09:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/menuevt.tex

index 137b894f1614465fb8fabe8cde8e6fff0ca2ba3d..5bc1600cb86ff51d741e8a81b3726fbcfa464a8f 100644 (file)
@@ -40,18 +40,29 @@ highlighted, i.e. the currently selected menu item has changed.}
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
+
 \membersection{wxMenuEvent::wxMenuEvent}
 
 \func{}{wxMenuEvent}{\param{WXTYPE }{id = 0}, \param{int }{id = 0}, \param{wxDC* }{dc = 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
+used with the \texttt{OPEN} and \texttt{CLOSE} events.
+
+
 \membersection{wxMenuEvent::GetMenuId}\label{wxmenueventgetmenuid}
 
 \constfunc{int}{GetMenuId}{\void}
@@ -59,6 +70,7 @@ The relevant menu identifier.
 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}