Franz:
I found out:
first lines:
import wx
lc = wx.Locale(wx.LANGUAGE_DEFAULT)
But that makes no sense for me.
Why should a wxApp Object created first?
···
---
Robin can explain this better than me.
It's by design. In fact, creating an wx.App means much more than creating
a simple wx.App instance. During this "bootstrap", a lot of wx stuff
is initialized.
A good place, where to put all the wx-related initializations is the
OnInit method of a wx.App instance. Try something like this:
I put it already to the OnInit and that works now.
···
On Wed, 22 Nov 2006 16:25:14 +0100, jmf <jfauth@bluewin.ch> wrote:
Franz:
I found out:
first lines:
import wx
lc = wx.Locale(wx.LANGUAGE_DEFAULT)
But that makes no sense for me.
Why should a wxApp Object created first?
---
Robin can explain this better than me.
It's by design. In fact, creating an wx.App means much more than creating
a simple wx.App instance. During this "bootstrap", a lot of wx stuff
is initialized.
A good place, where to put all the wx-related initializations is the
OnInit method of a wx.App instance. Try something like this: