]> git.saurik.com Git - wxWidgets.git/commitdiff
Add a temporary workaround to make the tests pass.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 22 Dec 2012 02:35:07 +0000 (02:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 22 Dec 2012 02:35:07 +0000 (02:35 +0000)
Call SetCLocale() on tests startup to avoid problems with wxDateTime parsing
that happen when the user locale is different from "C" one under Windows.

See #14918.

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

tests/test.cpp

index 6619dd21c529f03c6022798c4d663e9e135e9344..5225ce76b1d39963669a4721dd0895b5e703d9ff 100644 (file)
@@ -472,6 +472,8 @@ bool TestApp::OnInit()
     if ( !TestAppBase::OnInit() )
         return false;
 
+    SetCLocale();
+
 #if wxUSE_GUI
     cout << "Test program for wxWidgets GUI features\n"
 #else