X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d08a1edf6b41502efecdc8c2d5e1195b1e6d3a8..f1d93f0beeec9d88f8a225aa35a9ccc163dcdb15:/src/motif/menuitem.cpp diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index deaad78a6f..a3081a45f7 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -154,12 +154,12 @@ void wxMenuItem::Check(bool bDoCheck) } } -wxString wxMenuItem::GetLabel() const +/* static */ +wxString wxMenuItemBase::GetLabelFromText(const wxString& text) { - return wxStripMenuCodes(m_text); + return wxStripMenuCodes(text); } - // ---------------------------------------------------------------------------- // wxMenuItemBase // ----------------------------------------------------------------------------