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
This commit is contained in:
Vadim Zeitlin
2012-12-22 02:35:07 +00:00
parent 1f89d869e7
commit 9de31412ed

View File

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