]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/menuitem.mm
close the handle returned by OpenProcessToken() (fixes #10129)
[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();