]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menuitem.cpp
added wxUSE_NOTEBOOK to include/wx/msw/setup0.h, removed wxUSE_RADIOBUTTON (we
[wxWidgets.git] / src / motif / menuitem.cpp
index e07a652c5888336c74c344d2ca4b19d0d9da7e22..a3081a45f7c7b58226ff094549c26e4eb0dbaf86 100644 (file)
@@ -157,7 +157,7 @@ void wxMenuItem::Check(bool bDoCheck)
 /* static */
 wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
 {
-    return wxStripMenuCodes(m_text);
+    return wxStripMenuCodes(text);
 }
 
 // ----------------------------------------------------------------------------