From c869479eb4b0713772482df9617ba5580845c337 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 24 Jun 2010 11:25:49 +0000 Subject: [PATCH] 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 --- include/wx/strvararg.h | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.45.2