]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menuitem.cpp
renamed scrolwin file - no other way to make wxGTK/Univ compile
[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)
 {
 /* static */
 wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
 {
-    return wxStripMenuCodes(m_text);
+    return wxStripMenuCodes(text);
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------