diff --git a/include/wx/mac/carbon/drawer.h b/include/wx/mac/carbon/drawer.h index 11fe42594c..5103f73fce 100644 --- a/include/wx/mac/carbon/drawer.h +++ b/include/wx/mac/carbon/drawer.h @@ -36,7 +36,7 @@ public: const wxString& title, wxSize size = wxDefaultSize, wxDirection edge = wxLEFT, - const wxString& name = "drawerwindow") + const wxString& name = wxT("drawerwindow")) { this->Create(parent, id, title, size, edge, name); } diff --git a/src/mac/carbon/drawer.cpp b/src/mac/carbon/drawer.cpp index 692a033ce9..67f43412ac 100644 --- a/src/mac/carbon/drawer.cpp +++ b/src/mac/carbon/drawer.cpp @@ -52,7 +52,7 @@ bool wxDrawerWindow::Create(wxWindow *parent, wxWindowID id, const wxString& title, wxSize size, wxDirection edge, const wxString& name) { - wxASSERT_MSG(NULL != parent, "wxDrawerWindows must be attached to a parent window."); + wxASSERT_MSG(NULL != parent, wxT("wxDrawerWindows must be attached to a parent window.")); // Constrain the drawer size to the parent window. const wxSize parentSize(parent->GetClientSize());