X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..3112490359260018d5d90deea13f3eff9dbe9564:/src/mac/menuitem.cpp?ds=sidebyside diff --git a/src/mac/menuitem.cpp b/src/mac/menuitem.cpp index 83ae7e0d84..22b07f575d 100644 --- a/src/mac/menuitem.cpp +++ b/src/mac/menuitem.cpp @@ -28,6 +28,12 @@ IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxObject) void wxMacBuildMenuString(StringPtr outMacItemText, char *outMacShortcutChar , short *outMacModifiers , const char *inItemName , bool useShortcuts ) ; + +wxString wxMenuItemBase::GetLabelFromText(const wxString& text) +{ + return wxStripMenuCodes(text); +} + // ---------------------------------------------------------------------------- // wxMenuItem // ----------------------------------------------------------------------------