X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98af9c738332c9a24475ad19efbfabe2b152c429..7f10ed6e65f6281b8d587a6382f198c8a394db97:/src/mac/carbon/uma.cpp diff --git a/src/mac/carbon/uma.cpp b/src/mac/carbon/uma.cpp index e5fc628fea..93fc8225ee 100644 --- a/src/mac/carbon/uma.cpp +++ b/src/mac/carbon/uma.cpp @@ -242,7 +242,8 @@ void UMASetMenuTitle( MenuRef menu , const wxString& title , wxFontEncoding enco void UMASetMenuItemText( MenuRef menu, MenuItemIndex item, const wxString& title, wxFontEncoding encoding ) { - wxString str = wxStripMenuCodes( title ) ; + // we don't strip the accels here anymore, must be done before + wxString str = title ; #if TARGET_CARBON SetMenuItemTextWithCFString( menu , item , wxMacCFStringHolder(str , encoding) ) ;