]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menuitem.cpp
Attempting to allow WIN16 compilation of the db/dbtable classes
[wxWidgets.git] / src / os2 / menuitem.cpp
index 6382eaa1d4be388bcd26949a09999dadf24ec253..9b9143b352a42229030a6942b39926bbce7adc52 100644 (file)
@@ -137,9 +137,9 @@ bool wxMenuItem::IsChecked() const
     return FALSE;
 }
 
-wxString wxMenuItem::GetLabel() const
+wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
 {
-    return wxStripMenuCodes(m_text);
+    return wxStripMenuCodes(text);
 }
 
 // accelerators