From 9de31412ed470c6fd0bd289dabf85e181ab55803 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 22 Dec 2012 02:35:07 +0000 Subject: [PATCH] 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 --- tests/test.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2