From: Bart A.M. Jourquin Date: Tue, 11 Jan 2000 16:41:42 +0000 (+0000) Subject: Bug fix in GetLabelFromText X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c2754d29034199bc158fc079f91c7bca15d40037 Bug fix in GetLabelFromText git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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); } // ----------------------------------------------------------------------------