Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv15721/src/gui

Modified Files:
        wxMApp.cpp 
Log Message:
only check for UTF-8 locale when using wx 2.6.4 or later as 
wxLocale::GetSystemEncoding() is broken in 2.6.3

Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.308
retrieving revision 1.309
diff -b -u -2 -r1.308 -r1.309
--- wxMApp.cpp  22 Aug 2006 11:08:38 -0000      1.308
+++ wxMApp.cpp  2 Sep 2006 12:41:30 -0000       1.309
@@ -1103,5 +1103,7 @@
 #endif // USE_I18N
 
-#ifdef __WXGTK20__
+   // wxLocale::GetSystemEncoding() is broken in wx <= 2.6.3, it returns
+   // ISO-8859-1 for UTF-8 locale
+#if defined(__WXGTK20__) && wxCHECK_VERSION(2, 6, 4)
    // we need UTF-8 support to be able to work with messages in different
    // encodings


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to