]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/mbarman.mm
don't give error messages if ws2_32.dll is not available in wxGetHostName()
[wxWidgets.git] / src / cocoa / mbarman.mm
index e67251718289960fab3dd7d61f39e74d5bd7759b..0935ec6e97a7a7df004439dbbbbc8c0a042b73f6 100644 (file)
@@ -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);