[Twisted-Python] wxreactor: dead close button

Henning.Ramm at mediapro-gmbh.de Henning.Ramm at mediapro-gmbh.de
Tue Jun 7 16:24:03 EDT 2005

>> At least on my system (WinXP, Py 2.3, wxPy 2.6.1, Twisted 2.0.1) the
>> default close button of the window does nothing; same with your
>> wxdemo.py; minimize/maximize works. Is there perhaps a bug in the
>> destructor or event handler of wxreactor? Is there a simple
>> workaround?
>You probably need to hook up reactor.stop() to the event (callback?)
>generated by the close button.

It should generate wx.EVT_CLOSE, but it never fires. (I use the same OnExit function with a menu entry/event, and there it works.)
Without Twisted, no own handler is needed. But the wxreactor doesn't seem to block anything...

Are here any wxPython users around who managed to re-enable the close button?

Best regards,
Henning Hraban Ramm
Südkurier Medienhaus / MediaPro
Support/Admin/Development Dept.

More information about the Twisted-Python mailing list