]> 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 c6cf916e646cdf001e7fb582310cb9068c179cc5..0935ec6e97a7a7df004439dbbbbc8c0a042b73f6 100644 (file)
@@ -49,7 +49,7 @@
 @implementation wxMenuBarManagerObserver : NSObject
 - (id)init
 {
 @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;
 }
     m_mbarman = NULL;
     return self;
 }
@@ -273,7 +273,7 @@ void wxMenuBarManager::InstallMenuBarForWindow(wxCocoaNSWindow *win)
     wxASSERT(win);
     m_windowCurrent = win;
     wxMenuBar *menubar = win->GetAppMenuBar(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);
 }
 
     SetMenuBar(menubar);
 }