Hi,
I'm not sure if this is a wxWidgets issue or a missunderstanding on my part, but here is the description of the issue I stumbled upon with a windows debug build:
The following assertion was triggered:
"Decimal separator mismatch -- did you use setlocale()?"
This only happened on a computer with German regional settings (where decimal seperator is , instead of .)
In my app I use wxLocale::Init() without parameters which I assumed should be the equivalent of calling Init(wxLocale::GetSystemLanguage()) as it's documented.
But when using wxLANGUAGE_DEFAULT there are a few ifs in wxLocale::Init() that behave differently.
When using Init(wxLocale::GetSystemLanguage()) the assertion isn't triggered.
I doubt this is intentional behavior.
Regards,
Tobias