[wxPython-users] check proper loading of wx.language
ianaré sévi
ianare at gmail.com
Tue Apr 10 20:24:43 PDT 2007
Here's how I did it. Should be OK right? Thanks for the help.
# set logging off for this call
wx.Log.SetLogLevel(0)
mylocale = wx.Locale(wx.LANGUAGE_WHATEVER, wx.LOCALE_LOAD_DEFAULT)
wx.Log.SetLogLevel(1000)
wx.LANGUAGE_WHATEVER being replaced by something that actually works of course!
2007/4/10, Robin Dunn <robin at alldunn.com>:
> You can disable error logging. This can be done temporarily using
> wx.LogNull, or you can set the level of messages that should be logged
> or not logged, like this:
>
> wx.Log.SetLogLevel(wx.LOG_FatalError)
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
--
- ianaré sévi
More information about the wxpython-users
mailing list