On 2/3/15 3:45 AM, Werner wrote:
wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL,
NULL), "C") == 0" failed at ..\..\src\common\intl.cpp(1449) in
wxLocale::GetInfo(): You probably called setlocale() directly instead of
using wxLocale and now there is a mismatch between C/C++ and Windows
locale.
Things are going to break, please only change locale by creating
wxLocale objects to avoid this!

Ok, if you do a 'git grep setlocale' you'll find that call in dLocalize.py . It would be wrong to instantiate wxLocale objects there (because it is outside of the UI layer). Hopefully it will be acceptable to leave dLocalize alone and set up wxLocale inside setupUI() or something...

In the meantime you could comment out that setlocale() call to verify that this is the source of the problem.

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to