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:
@@ -544,7 +544,7 @@ wxMenu *wxMenuBarBase::Remove(size_t pos)
|
||||
return menu;
|
||||
}
|
||||
|
||||
int wxMenuBarBase::FindMenu(const wxString& title)
|
||||
int wxMenuBarBase::FindMenu(const wxString& title) const
|
||||
{
|
||||
wxString label = wxMenuItem::GetLabelFromText(title);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user