]> git.saurik.com Git - wxWidgets.git/commitdiff
always define wxLocaleIsUtf8
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 30 Apr 2007 12:46:30 +0000 (12:46 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 30 Apr 2007 12:46:30 +0000 (12:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxcrt.h

index 060f05dbbff6c2c6779b49184f54e1313375f15e..31bf3ceb70ae5e89c24765f91856411d115a7c7b 100644 (file)
@@ -23,7 +23,9 @@
     #if wxUSE_UNICODE_UTF8
     // flag indicating whether the current locale uses UTF-8 or not; must be
     // updated every time the locale is changed!
-    #if !wxUSE_UTF8_LOCALE_ONLY
+    #if wxUSE_UTF8_LOCALE_ONLY
+    #define wxLocaleIsUtf8 true
+    #else
     extern WXDLLIMPEXP_BASE bool wxLocaleIsUtf8;
     #endif
     // function used to update the flag: