]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menuitem.cpp
Added wxUSE_NUMBERDLG to setup.h; added some files to VC++ project files;
[wxWidgets.git] / src / motif / menuitem.cpp
index deaad78a6fc565fdc6e90d9b7e93cbdd3593e85f..a3081a45f7c7b58226ff094549c26e4eb0dbaf86 100644 (file)
@@ -154,12 +154,12 @@ void wxMenuItem::Check(bool bDoCheck)
     }
 }
 
-wxString wxMenuItem::GetLabel() const
+/* static */
+wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
 {
-    return wxStripMenuCodes(m_text);
+    return wxStripMenuCodes(text);
 }
 
-
 // ----------------------------------------------------------------------------
 // wxMenuItemBase
 // ----------------------------------------------------------------------------