Newbie wxPython questions.

chris chris.levis at gmail.com
Fri Apr 7 16:09:32 EDT 2006


Oh, by the way... in your frame's constructor (the Frame1.__init__),
you'll have to make "parent" a member variable of the class so that
OnCloseMe has access to it.

I.e., in the __init__ add
self.FrameParent = parent

Then in OnCloseMe do:
self.FrameParent.Close()




More information about the Python-list mailing list