Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv7349/src/gui

Modified Files:
        wxMDialogs.cpp wxMFrame.cpp 
Log Message:
cygwin PATH problem and few unicode fixes

Index: wxMDialogs.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMDialogs.cpp,v
retrieving revision 1.393
retrieving revision 1.394
diff -b -u -2 -r1.393 -r1.394
--- wxMDialogs.cpp      23 Jun 2003 01:23:46 -0000      1.393
+++ wxMDialogs.cpp      22 Jul 2003 12:07:38 -0000      1.394
@@ -1282,10 +1282,10 @@
    {
       // like this, it will work in an uninstalled copy of M too
-      dir = "..";
+      dir = _T("..");
    }
 
-   dir << DIR_SEPARATOR << "doc" << DIR_SEPARATOR
+   dir << DIR_SEPARATOR << _T("doc") << DIR_SEPARATOR
 #ifndef OS_WIN
-       << "Tips" << DIR_SEPARATOR
+       << _T("Tips") << DIR_SEPARATOR
 #endif // !Windows
        ;
@@ -1294,5 +1294,5 @@
    // simply Tips.txt
 
-   filename = "Tips";
+   filename = _T("Tips");
 
 #ifdef USE_I18N
@@ -1302,8 +1302,8 @@
 #endif // USE_I18N
 
-   filename << ".txt";
+   filename << _T(".txt");
 
    if(! wxFileExists(dir+filename))
-      filename = "Tips.txt";
+      filename = _T("Tips.txt");
 
    wxTipProvider *tipProvider =

Index: wxMFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMFrame.cpp,v
retrieving revision 1.159
retrieving revision 1.160
diff -b -u -2 -r1.159 -r1.160
--- wxMFrame.cpp        24 Mar 2003 02:57:34 -0000      1.159
+++ wxMFrame.cpp        22 Jul 2003 12:07:38 -0000      1.160
@@ -593,5 +593,5 @@
             if ( !path.empty() )
                path += DIR_SEPARATOR;
-            path += "scripts";
+            path += _T("scripts");
 
             wxString filename = MDialog_FileRequester



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to