Fix bug in GetLableFromText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5692876f3b
commit
4a3563c542
@ -144,7 +144,7 @@ bool wxMenuItem::IsChecked() const
|
||||
/* static */
|
||||
wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
|
||||
{
|
||||
return wxStripMenuCodes(m_text);
|
||||
return wxStripMenuCodes(text);
|
||||
}
|
||||
|
||||
// accelerators
|
||||
|
Loading…
Reference in New Issue
Block a user