]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode compilation fix: wxStrlocale() doesn't take wide strings
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 13 Jun 2007 14:19:24 +0000 (14:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 13 Jun 2007 14:19:24 +0000 (14:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/strings.cpp

index 9c913cc0dc245a028fe02c0b93a523e9e9edae39..c679d4423e13f33857a31e27bb603fd6dfa39083 100644 (file)
@@ -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++ )