X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b59cdbfaf7df79499424c92ff6177736429ff8a..790ba06b28f232abc42c4ed784df4b86bfbfe5e6:/src/motif/menuitem.cpp diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index e07a652c58..a3081a45f7 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -157,7 +157,7 @@ void wxMenuItem::Check(bool bDoCheck) /* static */ wxString wxMenuItemBase::GetLabelFromText(const wxString& text) { - return wxStripMenuCodes(m_text); + return wxStripMenuCodes(text); } // ----------------------------------------------------------------------------