MenuRef menu ;
CreateNewMenu( id , 0 , &menu ) ;
- SetMenuTitleWithCFString( menu , wxMacCFStringHolder(str , encoding ) ) ;
+ SetMenuTitleWithCFString( menu , wxCFStringRef(str , encoding ) ) ;
return menu ;
}
{
wxString str = wxStripMenuCodes( title ) ;
- SetMenuTitleWithCFString( menu , wxMacCFStringHolder(str , encoding) ) ;
+ SetMenuTitleWithCFString( menu , wxCFStringRef(str , encoding) ) ;
}
void UMASetMenuItemText( MenuRef menu, MenuItemIndex item, const wxString& title, wxFontEncoding encoding )
// we don't strip the accels here anymore, must be done before
wxString str = title ;
- SetMenuItemTextWithCFString( menu , item , wxMacCFStringHolder(str , encoding) ) ;
+ SetMenuItemTextWithCFString( menu , item , wxCFStringRef(str , encoding) ) ;
}
void UMAEnableMenuItem( MenuRef inMenu , MenuItemIndex inItem , bool enable)