Mention wxLocale in wxNumValidator documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Aug 2011 11:04:44 +0000 (11:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Aug 2011 11:04:44 +0000 (11:04 +0000)
commit71f89d85c3ca8a9e9c5d05244e9d7cc3dac58d0d
tree7148f30de16dc0c015d3361dc02ed51b73e517f3
parentbf92c2268ecd890db247c83c1daf4face548df66
Mention wxLocale in wxNumValidator documentation.

Using setlocale() can thoroughly confuse wxNumValidator because it results in
a mismatch between the decimal and/or thousands separators it uses, returned
by wxLocale, and the actual separators in the strings, formatted by the CRT.

So mention in the documentation that using setlocale() is a bad idea.

Closes #12970.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
interface/wx/valnum.h