X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c5dae083df95e845c2de0b7177c2ead7365e717..0ec80ebe6f64c51ac16de064b462427899e37303:/src/mac/carbon/uma.cpp diff --git a/src/mac/carbon/uma.cpp b/src/mac/carbon/uma.cpp index 23205472ba..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 = title ; // we don't strip the accels here anynmore, must be done before + // we don't strip the accels here anymore, must be done before + wxString str = title ; #if TARGET_CARBON SetMenuItemTextWithCFString( menu , item , wxMacCFStringHolder(str , encoding) ) ;