move 8 copies of the same function to common code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2008-06-11 05:23:53 +00:00
parent 980ebb9552
commit cabb286d30
9 changed files with 7 additions and 88 deletions

View File

@@ -1519,12 +1519,6 @@ wxMenuItem *wxMenuItemBase::New(wxMenu *parentMenu,
return new wxMenuItem(parentMenu, id, name, help, kind, subMenu);
}
/* static */
wxString wxMenuItemBase::GetLabelText(const wxString& text)
{
return wxStripMenuCodes(text);
}
// ----------------------------------------------------------------------------
// wxMenuItem operations
// ----------------------------------------------------------------------------