From 53599fbbd8be79bb1e7d806cbb53b5d9b7ca4302 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 22 Dec 2005 00:17:22 +0000 Subject: [PATCH] Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/strings/tokenizer.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/strings/tokenizer.cpp b/tests/strings/tokenizer.cpp index 8394d5a761..14fd24f8fd 100644 --- a/tests/strings/tokenizer.cpp +++ b/tests/strings/tokenizer.cpp @@ -176,7 +176,12 @@ void TokenizerTestCase::StrtokCompat() if ( ttd.mode != wxTOKEN_STRTOK ) continue; - wxCharBuffer buf(ttd.str); +#if wxUSE_UNICODE + wxWCharBuffer +#else + wxCharBuffer +#endif + buf(ttd.str); wxChar *last; wxChar *s = wxStrtok(buf.data(), ttd.delims, &last); -- 2.45.2