From: Vadim Zeitlin Date: Wed, 30 Jul 2008 15:32:11 +0000 (+0000) Subject: use different strings for wchar_t and UTF-8-based Unicode builds X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a74deb88184cfdf0e7c535312b163daea3a9f64e use different strings for wchar_t and UTF-8-based Unicode builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/build.h b/include/wx/build.h index e660e39114..5a0fb9d871 100644 --- a/include/wx/build.h +++ b/include/wx/build.h @@ -48,8 +48,10 @@ #define __WX_BO_DEBUG "no debug" #endif -#if wxUSE_UNICODE - #define __WX_BO_UNICODE "Unicode" +#if wxUSE_UNICODE_UTF8 + #define __WX_BO_UNICODE "UTF-8" +#elif wxUSE_UNICODE_WCHAR + #define __WX_BO_UNICODE "wchar_t" #else #define __WX_BO_UNICODE "ANSI" #endif