From c2754d29034199bc158fc079f91c7bca15d40037 Mon Sep 17 00:00:00 2001 From: "Bart A.M. Jourquin" Date: Tue, 11 Jan 2000 16:41:42 +0000 Subject: [PATCH] Bug fix in GetLabelFromText git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/menuitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } // ----------------------------------------------------------------------------