From: Václav Slavík Date: Mon, 30 Apr 2007 12:46:30 +0000 (+0000) Subject: always define wxLocaleIsUtf8 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/48670a3300cb085daacb635b4a92edf277a92102?ds=inline always define wxLocaleIsUtf8 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/wxcrt.h b/include/wx/wxcrt.h index 060f05dbbf..31bf3ceb70 100644 --- a/include/wx/wxcrt.h +++ b/include/wx/wxcrt.h @@ -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: