On Wed, 14 Jan 2009 10:54:21 -, wrote:
The parent is called like this (I didn't copy that line):
def __init__(self, *args, **kwds):
# begin wxGlade: MyFrame.__init__
kwds["style"] = wx.DEFAULT_FRAME_STYLE
wx.Frame.__init__(self, *args, **kwds)
The frame works fine and so do
The parent is called like this (I didn't copy that line):
def __init__(self, *args, **kwds):
# begin wxGlade: MyFrame.__init__
kwds["style"] = wx.DEFAULT_FRAME_STYLE
wx.Frame.__init__(self, *args, **kwds)
The frame works fine and so does the button, but somehow I cannot call the
s
On Wed, Jan 14, 2009 at 11:28 AM, wrote:
> class MyFrame(wx.Frame):
>def __init__(self, *args, **kwds):
It might be helpful here if you called
the parent __init__. Like so:
class MyFrame(wx.Frame):
def __init__(self, *args, **kwds):
super(MyFrame, self).__init__(*args, **kwargs)
.