]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/menuitem.cpp
gtk 1.2.8 compilation fix
[wxWidgets.git] / src / mac / menuitem.cpp
index fc8d7885af51fb8293192dae9967b1be127c1423..22b07f575d83e385089483cb25107422a66b9e17 100644 (file)
 // dynamic classes implementation
 // ----------------------------------------------------------------------------
 
-#if !USE_SHARED_LIBRARY
   IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxObject)
-#endif  //USE_SHARED_LIBRARY
 
 void wxMacBuildMenuString(StringPtr outMacItemText, char *outMacShortcutChar , short *outMacModifiers , const char *inItemName , bool useShortcuts ) ;
+
+wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
+{
+    return wxStripMenuCodes(text);
+}
+
 // ----------------------------------------------------------------------------
 // wxMenuItem
 // ----------------------------------------------------------------------------