[wxPython-users] Problem calling one frame from another

Werner F. Bruhin werner.bruhin at free.fr
Tue Jul 24 10:55:17 PDT 2007


Hi Mike,

Mike Driscoll wrote:
> Thanks guys. I'll look into both methods. I did try to do a dialog
> yesterday, but the blasted thing kept complaining about needing a window
> object.
Just give him what it ask for ;-)

You probably call it from a wx.Frame, so do this where self is the wx.Frame

dlg = customdiagmodul.YourCustomDialog(self)

or otherwise:
dlg = customdiagmodul.YourCustomDialog(None)

Werner




More information about the wxpython-users mailing list