From ec2ba3aa467939ef341ff08a5778199f22addfb1 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Mon, 14 Jun 1999 14:26:11 +0000 Subject: [PATCH] Unicode needs the 'experimental' printf, so define it if wxUSE_UNICODE for now... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/string.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/string.cpp b/src/common/string.cpp index da831ccafa..3fc2571a97 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -56,6 +56,11 @@ IMPLEMENT_DYNAMIC_CLASS(wxString, wxObject) #endif //WXSTRING_IS_WXOBJECT +#if wxUSE_UNICODE +#undef wxUSE_EXPERIMENTAL_PRINTF +#define wxUSE_EXPERIMENTAL_PRINTF 1 +#endif + // allocating extra space for each string consumes more memory but speeds up // the concatenation operations (nLen is the current string's length) // NB: EXTRA_ALLOC must be >= 0!