]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
suppressed compiler warning about unitialised umask value
[wxWidgets.git] / src / generic / splitter.cpp
index 0288be38082da7f81637aa293200108db10c484f..853774c7858f4c02d80a2dbc04029ddee03bee98 100644 (file)
@@ -604,7 +604,7 @@ bool wxSplitterWindow::Unsplit(wxWindow *toRemove)
     }
     else
     {
-        wxFAIL_MSG("splitter: attempt to remove a non-existent window");
+        wxFAIL_MSG(_T("splitter: attempt to remove a non-existent window"));
 
         return FALSE;
     }
@@ -619,8 +619,8 @@ bool wxSplitterWindow::Unsplit(wxWindow *toRemove)
 // Replace a window with another one
 bool wxSplitterWindow::ReplaceWindow(wxWindow *winOld, wxWindow *winNew)
 {
-    wxCHECK_MSG( winOld, FALSE, "use one of Split() functions instead" );
-    wxCHECK_MSG( winNew, FALSE, "use Unsplit() functions instead" );
+    wxCHECK_MSG( winOld, FALSE, _T("use one of Split() functions instead") );
+    wxCHECK_MSG( winNew, FALSE, _T("use Unsplit() functions instead") );
 
     if ( winOld == m_windowTwo )
     {
@@ -632,7 +632,7 @@ bool wxSplitterWindow::ReplaceWindow(wxWindow *winOld, wxWindow *winNew)
     }
     else
     {
-        wxFAIL_MSG("splitter: attempt to replace a non-existent window");
+        wxFAIL_MSG(_T("splitter: attempt to replace a non-existent window"));
 
         return FALSE;
     }