[ 1729713 ] wxLocale causing problems with wxConfig

Robert Roebling robert at roebling.de
Mon Jun 4 00:54:46 PDT 2007


 Hi,

shouldn't wxConfig (and other code using wxPrintf
and wxScanf etc) always use the C locale? This
can currently only be done by setting the C locale
before and resetting it afterwards, I think. Does
anyone know if this is performance critical or if
there is a better way?

We should probably offer a little helper class
wxCLocaleSetter that sets and resets the locale.

 Robert







More information about the wx-dev mailing list