[Twisted-Python] wxreactor: dead close button

Henning.Ramm at mediapro-gmbh.de Henning.Ramm at mediapro-gmbh.de
Sun Jun 5 16:49:49 EDT 2005

Hello, especially Itamar!

Consider the following minimal example:

import wx
from twisted.internet import wxreactor
from twisted.internet import reactor

class Main(wx.App):

    def __init__(self):
        wx.App.__init__(self, redirect=False)
        self.frame = wx.Frame(None, wx.ID_ANY, 'Test')

main = Main()

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?

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

More information about the Twisted-Python mailing list