Update of /cvsroot/mahogany/M/src/wx/generic
In directory usw-pr-cvs1:/tmp/cvs-serv9699/src/wx/generic

Modified Files:
        persctrl.cpp 
Log Message:
a few fixes for Unicode compilation

Index: persctrl.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/wx/generic/persctrl.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -b -u -2 -r1.72 -r1.73
--- persctrl.cpp        11 Mar 2002 19:41:02 -0000      1.72
+++ persctrl.cpp        8 Sep 2002 19:23:12 -0000       1.73
@@ -200,5 +200,5 @@
 void wxPHelper::SetPath(const wxString& path, const wxString& prefix)
 {
-    wxCHECK_RET( !path.empty(), "empty path in persistent ctrl code" );
+    wxCHECK_RET( !path.empty(), _T("empty path in persistent ctrl code") );
 
     wxString strKey, strPath = path.BeforeLast('/');
@@ -239,5 +239,5 @@
 bool wxPHelper::ChangePath()
 {
-    wxCHECK_MSG( m_config, FALSE, "can't change path without config!" );
+    wxCHECK_MSG( m_config, FALSE, _T("can't change path without config!") );
 
     m_oldPath = m_config->GetPath();
@@ -252,5 +252,5 @@
 {
     if ( !m_pathRestored ) {
-        wxCHECK_RET( m_config, "can't restore path without config!" );
+        wxCHECK_RET( m_config, _T("can't restore path without config!") );
 
         m_config->SetPath(m_oldPath);
@@ -721,5 +721,5 @@
                 else
                 {
-                    wxFAIL_MSG("wxPListCtrl: corrupted config entry?");
+                    wxFAIL_MSG(_T("wxPListCtrl: corrupted config entry?"));
                 }
 
@@ -1552,8 +1552,8 @@
     // some checks are in order...
     wxASSERT_MSG( !(style & wxOK) || !(style & wxYES_NO),
-                  "don't create dialog with both Yes/No and Ok buttons!" );
+                  _T("don't create dialog with both Yes/No and Ok buttons!") );
 
     wxASSERT_MSG( (style & wxOK ) || (style & wxYES_NO),
-                  "don't create dialog with only the Cancel button!" );
+                  _T("don't create dialog with only the Cancel button!") );
 
     if ( style & wxYES_NO ) {
@@ -1707,5 +1707,5 @@
     }
     else {
-        wxFAIL_MSG( "can't find default button for this dialog." );
+        wxFAIL_MSG( _T("can't find default button for this dialog.") );
     }
 
@@ -1739,5 +1739,5 @@
 
         default:
-            wxFAIL_MSG("unexpected button id in wxPMessageDialog.");
+            wxFAIL_MSG(_T("unexpected button id in wxPMessageDialog."));
             // fall through nevertheless
 
@@ -2088,5 +2088,5 @@
 
         default:
-            wxFAIL_MSG("unexpected button id in TranslateBtnIdToMsgBox.");
+            wxFAIL_MSG(_T("unexpected button id in TranslateBtnIdToMsgBox."));
             // fall through nevertheless
 



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to