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:
parent
8bf9e177d5
commit
c2754d2903
@ -157,7 +157,7 @@ void wxMenuItem::Check(bool bDoCheck)
|
|||||||
/* static */
|
/* static */
|
||||||
wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
|
wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
|
||||||
{
|
{
|
||||||
return wxStripMenuCodes(m_text);
|
return wxStripMenuCodes(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user