X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ded703ddca4c6657625af80afa66a2dddd13dae..7b28e0ede49ca78e05df6bc6af2d2d8c508f8455:/src/cocoa/mbarman.mm diff --git a/src/cocoa/mbarman.mm b/src/cocoa/mbarman.mm index e672517182..0935ec6e97 100644 --- a/src/cocoa/mbarman.mm +++ b/src/cocoa/mbarman.mm @@ -49,7 +49,7 @@ @implementation wxMenuBarManagerObserver : NSObject - (id)init { - wxFAIL_MSG("[wxMenuBarManagerObserver -init] should never be called!"); + wxFAIL_MSG(wxT("[wxMenuBarManagerObserver -init] should never be called!")); m_mbarman = NULL; return self; } @@ -273,11 +273,11 @@ void wxMenuBarManager::InstallMenuBarForWindow(wxCocoaNSWindow *win) wxASSERT(win); m_windowCurrent = win; wxMenuBar *menubar = win->GetAppMenuBar(win); - wxLogDebug("Found menubar=%p for window=%p.",menubar,win); + wxLogDebug(wxT("Found menubar=%p for window=%p."),menubar,win); SetMenuBar(menubar); } -void wxMenuBarManager::UpdateWindowMenuBar(wxTopLevelWindowNative *win) +void wxMenuBarManager::UpdateMenuBar() { if(m_windowCurrent) InstallMenuBarForWindow(m_windowCurrent);