From: Vadim Zeitlin Date: Wed, 13 Jun 2007 14:19:24 +0000 (+0000) Subject: Unicode compilation fix: wxStrlocale() doesn't take wide strings X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/10de049c42e189b5b612ba5009d745331cd648bb?hp=7c37eb10fd71309120bced1372ea88f05353d8a7 Unicode compilation fix: wxStrlocale() doesn't take wide strings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/strings/strings.cpp b/tests/strings/strings.cpp index 9c913cc0dc..c679d4423e 100644 --- a/tests/strings/strings.cpp +++ b/tests/strings/strings.cpp @@ -633,7 +633,7 @@ void StringTestCase::ToDouble() // we need to use decimal point, not comma or whatever is its value for the // current locale - wxSetlocale(LC_ALL, _T("C")); + wxSetlocale(LC_ALL, "C"); size_t n; for ( n = 0; n < WXSIZEOF(doubleData); n++ )