Revision: 7305
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7305&view=rev
Author:   vadz
Date:     2007-07-29 08:25:18 -0700 (Sun, 29 Jul 2007)

Log Message:
-----------
restore UTF-8 warning message for wxUSE_UTF8_LOCALE_ONLY build

Modified Paths:
--------------
    trunk/M/src/gui/wxMApp.cpp

Modified: trunk/M/src/gui/wxMApp.cpp
===================================================================
--- trunk/M/src/gui/wxMApp.cpp  2007-07-29 15:24:46 UTC (rev 7304)
+++ trunk/M/src/gui/wxMApp.cpp  2007-07-29 15:25:18 UTC (rev 7305)
@@ -1128,9 +1128,7 @@
    }
 #endif // USE_I18N
 
-   // wxLocale::GetSystemEncoding() is broken in wx <= 2.6.3, it returns
-   // ISO-8859-1 for UTF-8 locale
-#if defined(__WXGTK20__)
+#if defined(__WXGTK20__) && (!wxUSE_UNICODE || wxUSE_UTF8_LOCALE_ONLY)
    // we need UTF-8 support to be able to work with messages in different
    // encodings
    if ( wxLocale::GetSystemEncoding() != wxFONTENCODING_UTF8 )


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to