only loading a language installed on system

ianaré ianare at gmail.com
Wed Apr 4 02:27:28 EDT 2007


i'm doing this:

mylocale = wx.Locale(wx.LANGUAGE_POLISH, 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. What am I doing wrong?

TIA




More information about the Python-list mailing list