Use C locale for numbers in wx(File)Config.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 May 2010 11:55:53 +0000 (11:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 May 2010 11:55:53 +0000 (11:55 +0000)
commit7e22c2bd02fcd8f6759dfbbf626302dd4a51822a
tree277f268d2c5ebf0750b3ffed95fa122dd6958df3
parent951201d81c463d55edb4b316002c7fa5c8291603
Use C locale for numbers in wx(File)Config.

Using the current locale decimal point in config files results in problems
when moving the files to another machine or even using a different locale on
the same one, so don't do it.

Always write the numbers using C locale and try to read them in C locale too
first, but also try the current locale if we failed for backwards
compatibility and to be tolerant with users who edit their config files by
hand.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
interface/wx/config.h
src/common/config.cpp