X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17e799185bf15b211e89326a682f63a6f58e76af..45ef0076bf8dd723ac709a4e30bdacedbb75b5f8:/docs/latex/wx/menu.tex diff --git a/docs/latex/wx/menu.tex b/docs/latex/wx/menu.tex index 3bb69f391a..86c3d66860 100644 --- a/docs/latex/wx/menu.tex +++ b/docs/latex/wx/menu.tex @@ -502,7 +502,7 @@ menu bar.} \docparam{titles}{An array of title strings. Deallocate this array after creating the menu bar.} -\docparam{style}{If {\tt wxMB_DOCKABLE} the menu bar can be detached (wxGTK only).} +\docparam{style}{If {\tt wxMB\_DOCKABLE} the menu bar can be detached (wxGTK only).} \pythonnote{Only the default constructor is supported in wxPython. Use wxMenuBar.Append instead.} @@ -584,6 +584,15 @@ Enables or disables a whole menu. Only use this when the menu bar has been associated with a frame. +\membersection{wxMenuBar::FindMenu}\label{wxmenubarfindmenu} + +\constfunc{int}{FindMenu}{\param{const wxString\& }{title}} + +Returns the index of the menu with the given {\it title} or wxNOT\_FOUND if no +such menu exists in this menubar. The {\it title} parameter may specify either +the menu title (with accelerator characters, i.e. {\tt "\&File"}) or just the +menu label ({\tt "File"}) indifferently. + \membersection{wxMenuBar::FindMenuItem}\label{wxmenubarfindmenuitem} \constfunc{int}{FindMenuItem}{\param{const wxString\& }{menuString}, \param{const wxString\& }{itemString}}