Menu label consistency changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -137,7 +137,7 @@ void wxMenuItem::Check(bool bDoCheck)
|
||||
}
|
||||
|
||||
/* static */
|
||||
wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
|
||||
wxString wxMenuItemBase::GetLabelText(const wxString& text)
|
||||
{
|
||||
return wxStripMenuCodes(text);
|
||||
}
|
||||
@@ -308,7 +308,7 @@ void wxMenuItem::DestroyItem(bool full)
|
||||
}
|
||||
}
|
||||
|
||||
void wxMenuItem::SetText(const wxString& label)
|
||||
void wxMenuItem::SetItemLabel(const wxString& label)
|
||||
{
|
||||
char mnem = wxFindMnemonic (label);
|
||||
wxString label2 = wxStripMenuCodes(label);
|
||||
|
||||
Reference in New Issue
Block a user