]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode needs the 'experimental' printf, so define it if wxUSE_UNICODE
authorOve Kaaven <ovek@arcticnet.no>
Mon, 14 Jun 1999 14:26:11 +0000 (14:26 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Mon, 14 Jun 1999 14:26:11 +0000 (14:26 +0000)
for now...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index da831ccafa2ba4683bdec766d6a0e90f26f61dd5..3fc2571a97e3b9dd7da4f8591481b369384cc3ca 100644 (file)
   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!