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:
Bart A.M. Jourquin 2000-01-11 16:26:44 +00:00
parent 5692876f3b
commit 4a3563c542

View File

@ -144,7 +144,7 @@ bool wxMenuItem::IsChecked() const
/* static */
wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
{
return wxStripMenuCodes(m_text);
return wxStripMenuCodes(text);
}
// accelerators