From: Václav Slavík Date: Thu, 24 Jun 2010 11:25:49 +0000 (+0000) Subject: Compilation fix for compilers that don't have native wchar_t. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c869479eb4b0713772482df9617ba5580845c337?ds=sidebyside Compilation fix for compilers that don't have native wchar_t. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/strvararg.h b/include/wx/strvararg.h index 2332ed93f2..ae70e64b17 100644 --- a/include/wx/strvararg.h +++ b/include/wx/strvararg.h @@ -401,7 +401,9 @@ wxFORMAT_STRING_SPECIFIER(float, wxFormatString::Arg_Double) wxFORMAT_STRING_SPECIFIER(double, wxFormatString::Arg_Double) wxFORMAT_STRING_SPECIFIER(long double, wxFormatString::Arg_LongDouble) +#if wxWCHAR_T_IS_REAL_TYPE wxFORMAT_STRING_SPECIFIER(wchar_t, wxFormatString::Arg_Char | wxFormatString::Arg_Int) +#endif wxFORMAT_STRING_SPECIFIER(char*, wxFormatString::Arg_String | wxFormatString::Arg_Pointer) wxFORMAT_STRING_SPECIFIER(unsigned char*, wxFormatString::Arg_String | wxFormatString::Arg_Pointer)