Bug fix in GetLabelFromText

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin 2000-01-11 16:41:42 +00:00
parent 8bf9e177d5
commit c2754d2903

View File

@ -157,7 +157,7 @@ void wxMenuItem::Check(bool bDoCheck)
/* static */
wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
{
return wxStripMenuCodes(m_text);
return wxStripMenuCodes(text);
}
// ----------------------------------------------------------------------------