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
I'm trying to call a method within my wx frame, but that doesn't seem to work.
What am I doing wrong?
class MyFrame(wx.Frame):
def __init__(self, *args, **kwds):
self.Bind(wx.EVT_BUTTON, self.test, self.testbutton)
...
def sendmail(self):
...
def test(self, even