X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2b23b67301bd2d286366d4326a21da3132558fa..a0826b119e63f4cfbf8361cbaf7cedef56e0ec53:/include/wx/wxcrt.h?ds=inline 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: