]> git.saurik.com Git - wxWidgets.git/commitdiff
unicode fix
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 26 Sep 2004 14:07:33 +0000 (14:07 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 26 Sep 2004 14:07:33 +0000 (14:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/drawer.h
src/mac/carbon/drawer.cpp

index 11fe42594cd40f510a97b6d41754ee4fe11e89fe..5103f73fce8a921f3641562b3e4876099ddc5b57 100644 (file)
@@ -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);
     }
index 692a033ce9d032302340c2545acd48d5cf0db6e7..67f43412acada607869b18ac80a3c1266daab952 100644 (file)
@@ -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());