Re: [dabo-users] Phoenix - Py3 - ReportDesigner

2015-02-04 Thread john
On 02/04/2015 07:57 AM, Paul McNett wrote: One thing that may bite us is if the existing locale is garbage collected but then the new language isn't supported, perhaps (not sure here) we should just use whatever the existing locale is instead of defaulting to wx's default. But then wxPython

Re: [dabo-users] Phoenix - Py3 - ReportDesigner

2015-02-04 Thread Paul McNett
On 2/4/15 9:10 AM, john wrote: On 02/04/2015 07:57 AM, Paul McNett wrote: One thing that may bite us is if the existing locale is garbage collected but then the new language isn't supported, perhaps (not sure here) we should just use whatever the existing locale is instead of defaulting to

Re: [dabo-users] Phoenix - Py3 - ReportDesigner

2015-02-04 Thread Neil Flowers
I agree that wxPython's decision to require specialized handling of locale seems a little questionable, but they may have had good reasons (I didn't look into them). I used wx.LANGUAGE_DEFAULT because it is supposed to derive the OS' locale and at the time I was thinking this was what the code

Re: [dabo-users] Phoenix - Py3 - ReportDesigner

2015-02-04 Thread Werner
Hi, On 2/4/2015 14:30, Ed Leafe wrote: On Feb 3, 2015, at 8:47 PM, Neil Flowers njflower...@gmail.com 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

Re: [dabo-users] Phoenix - Py3 - ReportDesigner

2015-02-04 Thread Paul McNett
On 2/4/15 6:51 AM, Werner wrote: Hi, On 2/4/2015 14:30, Ed Leafe wrote: On Feb 3, 2015, at 8:47 PM, Neil Flowers njflower...@gmail.com 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;

Re: [dabo-users] Phoenix - Py3 - ReportDesigner

2015-02-04 Thread Ed Leafe
On Feb 3, 2015, at 8:47 PM, Neil Flowers njflower...@gmail.com 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

Re: [dabo-users] Phoenix - Py3 - ReportDesigner

2015-02-04 Thread john
On 02/04/2015 05:30 AM, Ed Leafe wrote: On Feb 3, 2015, at 8:47 PM, Neil Flowers njflower...@gmail.com 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