problem calling method

James Mills prologic at shortcircuit.net.au
Tue Jan 13 21:33:07 EST 2009


On Wed, Jan 14, 2009 at 11:28 AM,  <pieterprovoost at gmail.com> 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)

...

cheers
James



More information about the Python-list mailing list