]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/menuitem.mm
move 8 copies of the same function to common code
[wxWidgets.git] / src / cocoa / menuitem.mm
index d6f542e13c839bf97f37d31107e0a1a9d9e58694..1ddcbb4b614636dc771243d5e0291ee761b629a8 100644 (file)
@@ -101,12 +101,6 @@ wxMenuItem *wxMenuItemBase::New(wxMenu *parentMenu,
     return new wxMenuItem(parentMenu, itemid, name, help, kind, subMenu);
 }
 
-/* static */
-wxString wxMenuItemBase::GetLabelText(const wxString& text)
-{
-    return wxStripMenuCodes(text);
-}
-
 void wxMenuItemCocoa::CocoaSetKeyEquivalent()
 {
     wxAcceleratorEntry *accel = GetAccel();