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
This commit is contained in:
Ove Kaaven 1999-06-14 14:26:11 +00:00
parent 5ca07d0fd7
commit ec2ba3aa46

View File

@ -56,6 +56,11 @@
IMPLEMENT_DYNAMIC_CLASS(wxString, wxObject) IMPLEMENT_DYNAMIC_CLASS(wxString, wxObject)
#endif //WXSTRING_IS_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 // allocating extra space for each string consumes more memory but speeds up
// the concatenation operations (nLen is the current string's length) // the concatenation operations (nLen is the current string's length)
// NB: EXTRA_ALLOC must be >= 0! // NB: EXTRA_ALLOC must be >= 0!