X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a0d28d8e9b299c1e4e9572cd51f05532cfba62f..b19d5e569e72a4c91708bba85c0b2268b28fe935:/src/os2/menuitem.cpp diff --git a/src/os2/menuitem.cpp b/src/os2/menuitem.cpp index 6382eaa1d4..9b9143b352 100644 --- a/src/os2/menuitem.cpp +++ b/src/os2/menuitem.cpp @@ -137,9 +137,9 @@ bool wxMenuItem::IsChecked() const return FALSE; } -wxString wxMenuItem::GetLabel() const +wxString wxMenuItemBase::GetLabelFromText(const wxString& text) { - return wxStripMenuCodes(m_text); + return wxStripMenuCodes(text); } // accelerators