From 48670a3300cb085daacb635b4a92edf277a92102 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 30 Apr 2007 12:46:30 +0000 Subject: [PATCH] always define wxLocaleIsUtf8 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wxcrt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.45.2