On Feb 3, 2015, at 8:47 PM, Neil Flowers <[email protected]> wrote:
> 
> Here’s the relevant snippet from uiApp.OnInit:
> 
>       def OnInit(self):
>               app = self.dApp
>               # As of wx3, locale must be set using wx.Locale; this can only 
> be created after the wx.App's initialization, so locale
>               # is moved here (also note setting locale is no longer 
> toolkit-agnostic, so other toolkit bindings would need to handle it 
> internally)
>               if dabo.loadUserLocale:
>                       self.locale = wx.Locale(wx.LANGUAGE_DEFAULT)
> 
> This seemed to be fine when placed in __init__ as well, so that’s another 
> option. I didn’t even see the locale issue manifest until I started testing 
> on Windows, but the above should work on any platform.

Would this cause a problem if the user has set a locale to something other than 
the wx default?


-- Ed Leafe







--- StripMime Report -- processed MIME parts ---
multipart/signed
  text/plain (text body -- kept)
  application/pgp-signature
---
_______________________________________________
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