1. wxMenuBar::FindMenu() made "const"

2. documented it
3. documented recent change to wxYield()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-22 10:17:32 +00:00
parent e5131165b0
commit 270e8b6a37
4 changed files with 19 additions and 4 deletions

View File

@@ -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}}