]> git.saurik.com Git - wxWidgets.git/commit
Check for decimal separator inconsistency in wxLocale::GetInfo().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Aug 2011 11:04:37 +0000 (11:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Aug 2011 11:04:37 +0000 (11:04 +0000)
commit0043f42027c6f5ed65f3d68bfcc024c0cf653577
tree02e96443f9799d91e2354644bc24a3531bdc5892
parent94ed214db27bc2d3b381b7a4b6e05ca201cabdf8
Check for decimal separator inconsistency in wxLocale::GetInfo().

Under wxMSW it's possible to have mismatch between the CRT locale (used by
various printf-related functions) and the system locale (queried by
wxLocale::GetInfo()).

Warn if such a mismatch occurs and tell people to use wxLocale instead of just
setlocale() to change the locale.

See #12970.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/intl.cpp