Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv3800/src/classes

Modified Files:
        FolderMonitor.cpp MEvent.cpp MModule.cpp MObject.cpp 
        MessageView.cpp 
Log Message:
more Unicode fixes

Index: FolderMonitor.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/FolderMonitor.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -b -u -2 -r1.18 -r1.19
--- FolderMonitor.cpp   8 Sep 2002 19:23:09 -0000       1.18
+++ FolderMonitor.cpp   12 Sep 2002 02:36:49 -0000      1.19
@@ -156,5 +156,5 @@
       m_timeNext = time(NULL) + (time_t)GetPollInterval();
 
-      wxLogTrace(TRACE_MONITOR, "Next check for %s scheduled for %s",
+      wxLogTrace(TRACE_MONITOR, _T("Next check for %s scheduled for %s"),
                  m_folder->GetFullName().c_str(),
                  ctime(&m_timeNext));
@@ -205,5 +205,5 @@
          if ( folder->GetFlags() & MF_FLAGS_MONITOR )
          {
-            wxLogTrace(TRACE_MONITOR, "Found folder to monitor: %s",
+            wxLogTrace(TRACE_MONITOR, _T("Found folder to monitor: %s"),
                        folderName.c_str());
 
@@ -535,5 +535,5 @@
       if ( !mf )
       {
-         wxLogTrace(TRACE_MONITOR, "Skipping not opened folder %s",
+         wxLogTrace(TRACE_MONITOR, _T("Skipping not opened folder %s"),
                     folder->GetFullName().c_str());
          return true;
@@ -557,5 +557,5 @@
 #endif // USE_DIALUP
 
-   wxLogTrace(TRACE_MONITOR, "Checking for new mail in '%s'.",
+   wxLogTrace(TRACE_MONITOR, _T("Checking for new mail in '%s'."),
               i->GetName().c_str());
 

Index: MEvent.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MEvent.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -b -u -2 -r1.36 -r1.37
--- MEvent.cpp  8 Sep 2002 19:23:09 -0000       1.36
+++ MEvent.cpp  12 Sep 2002 02:36:49 -0000      1.37
@@ -136,5 +136,5 @@
 MEventManager::Send(MEventData * data)
 {
-   wxLogTrace("event", "Queuing event %d", data->GetId());
+   wxLogTrace(_T("event"), _T("Queuing event %d"), data->GetId());
 
    MEventLocker mutex;
@@ -156,5 +156,5 @@
    MEventId id = data.GetId();
 
-   wxLogTrace("event", "Dispatching event %d", id);
+   wxLogTrace(_T("event"), _T("Dispatching event %d"), id);
 
    // make a copy of the array because some event handlers might remove

Index: MModule.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MModule.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -b -u -2 -r1.72 -r1.73
--- MModule.cpp 8 Sep 2002 19:23:09 -0000       1.72
+++ MModule.cpp 12 Sep 2002 02:36:49 -0000      1.73
@@ -213,5 +213,5 @@
    if ( !dll )
    {
-      wxLogTrace(M_TRACE_MODULES, "Failed to load module '%s' from '%s'.",
+      wxLogTrace(M_TRACE_MODULES, _T("Failed to load module '%s' from '%s'."),
                  name.c_str(), pathname.c_str());
 
@@ -219,5 +219,5 @@
    }
 
-   wxLogTrace(M_TRACE_MODULES, "Successfully loaded module '%s' from '%s'.",
+   wxLogTrace(M_TRACE_MODULES, _T("Successfully loaded module '%s' from '%s'."),
               name.c_str(), pathname.c_str());
 
@@ -290,5 +290,5 @@
    }
 
-   wxLogTrace(M_TRACE_MODULES, "Looking for module '%s' in the path '%s'.",
+   wxLogTrace(M_TRACE_MODULES, _T("Looking for module '%s' in the path '%s'."),
               name.c_str(), path.c_str());
 #endif // DEBUG

Index: MObject.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MObject.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -u -2 -r1.21 -r1.22
--- MObject.cpp 3 Jul 2002 17:31:13 -0000       1.21
+++ MObject.cpp 12 Sep 2002 02:36:49 -0000      1.22
@@ -60,9 +60,9 @@
 
    if ( nCount > 0 ) {
-      wxLogDebug("MEMORY LEAK: %lu object leaked:", (unsigned long)nCount);
+      wxLogDebug(_T("MEMORY LEAK: %lu object leaked:"), (unsigned long)nCount);
    }
 
    for ( size_t n = 0; n < nCount; n++ ) {
-      wxLogDebug("Object %lu: %s",
+      wxLogDebug(_T("Object %lu: %s"),
                  (unsigned long)n, gs_aObjects[n]->DebugDump().c_str());
    }
@@ -106,5 +106,5 @@
    if ( this == gs_traceObject )
    {
-      wxLogTrace("Object %p: IncRef() called, m_nRef = %lu.", this, (unsigned 
long)m_nRef);
+      wxLogTrace(_T("Object %p: IncRef() called, m_nRef = %lu."), this, (unsigned 
+long)m_nRef);
    }
 }
@@ -119,5 +119,5 @@
    if ( this == gs_traceObject )
    {
-      wxLogTrace("Object %p: DecRef() called, m_nRef = %lu.", this, (unsigned 
long)m_nRef);
+      wxLogTrace(_T("Object %p: DecRef() called, m_nRef = %lu."), this, (unsigned 
+long)m_nRef);
    }
 

Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.96
retrieving revision 1.97
diff -b -u -2 -r1.96 -r1.97
--- MessageView.cpp     12 Sep 2002 00:00:25 -0000      1.96
+++ MessageView.cpp     12 Sep 2002 02:36:49 -0000      1.97
@@ -1741,5 +1741,5 @@
       else
       {
-         wxLogDebug("Invalid MIME type '%s'!", typeName.c_str());
+         wxLogDebug(_T("Invalid MIME type '%s'!"), typeName.c_str());
       }
    }
@@ -2181,5 +2181,5 @@
       if ( !wxRemoveFile(filename) )
       {
-         wxLogDebug("Warning: stale temp file '%s' will be left.",
+         wxLogDebug(_T("Warning: stale temp file '%s' will be left."),
                     filename.c_str());
       }
@@ -2227,5 +2227,5 @@
          && MimeSave(mimepart, filename))
       {
-         wxLogDebug("Detected image/tiff fax content.");
+         wxLogDebug(_T("Detected image/tiff fax content."));
          // use TIFF2PS command to create a postscript file, open that
          // one with the usual ps viewer
@@ -2358,5 +2358,5 @@
       if ( !wxRemoveFile(filename) )
       {
-         wxLogDebug("Warning: stale temp file '%s' will be left.",
+         wxLogDebug(_T("Warning: stale temp file '%s' will be left."),
                     filename.c_str());
       }



-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to