From: Vadim Zeitlin Date: Sat, 22 Dec 2012 02:35:07 +0000 (+0000) Subject: Add a temporary workaround to make the tests pass. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9de31412ed470c6fd0bd289dabf85e181ab55803 Add a temporary workaround to make the tests pass. 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 --- diff --git a/tests/test.cpp b/tests/test.cpp index 6619dd21c5..5225ce76b1 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -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