]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
compilation fix for non-threaded compilation (threads are still broken
[wxWidgets.git] / src / msw / menuitem.cpp
index 9b6dbe9b52d18e3d126a1a222d0dc3488229728e..f64f57eb17149c072396c6eb5dcea324c5e0de59 100644 (file)
@@ -141,9 +141,10 @@ bool wxMenuItem::IsChecked() const
     return (flag & MF_CHECKED) != 0;
 }
 
     return (flag & MF_CHECKED) != 0;
 }
 
-wxString wxMenuItem::GetLabel() const
+/* static */
+wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
 {
 {
-    return wxStripMenuCodes(m_text);
+    return wxStripMenuCodes(text);
 }
 
 // accelerators
 }
 
 // accelerators