]> git.saurik.com Git - wxWidgets.git/commit - tests/validators/valnum.cpp
Use wxLocale instead of setlocale() to change the locale in the tests.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Feb 2011 17:24:45 +0000 (17:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Feb 2011 17:24:45 +0000 (17:24 +0000)
commitfb76ad8f55cfee41237cd41220e8b51267c4a8a2
tree8bbb980c5f531b03bfda63d85b0309141347f7dc
parent816b29417d6194332709439490caf407e1283532
Use wxLocale instead of setlocale() to change the locale in the tests.

Numeric validator tests rely on wxLocale::GetInfo() returning the decimal
point and calling setlocale() is not enough to ensure this under MSW, we must
use wxLocale for this currently.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/validators/valnum.cpp