// menu manager
-#if wxMAC_USE_COCOA == 0
+#if 1 // not yet wxMAC_USE_COCOA == 0
MenuRef UMANewMenu( SInt16 id , const wxString& title , wxFontEncoding encoding )
{
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)
#endif
-#if wxMAC_USE_COCOA == 0
+#if 1 // not yet wxMAC_USE_COCOA == 0
static OSStatus UMAGetHelpMenu(
MenuRef * outHelpMenu,