check proper loading of wx.language
ianaré sévi
ianare at gmail.com
Thu Apr 5 09:21:57 PDT 2007
i'm doing this:
mylocale = wx.Locale(wx.LANGUAGE_WHATEVER, wx.LOCALE_LOAD_DEFAULT)
if not wx.Locale.IsOk(mylocale):
mylocale = wx.Locale(wx.LANGUAGE_DEFAULT, wx.LOCALE_LOAD_DEFAULT)
and getting this:
Segmentation fault (core dumped)
I'm trying to see if I can properly load a language. If the system
will not load it, then use system default. This is mainly an effort to
get rid of the annoying error message "python error - can't set locale
to xx_YY" that comes up on the application's start.
Thank you,
--
- ianaré sévi
More information about the wxpython-users
mailing list