def statusReport(self, msg):
        """Passes on a status message to the gui"""
        if self.param:
            evt = ResponseEvent(self.onStatusReport, None, None, msg, self.param)
        else:
            evt = ResponseEvent(self.onStatusReport, None, None, msg)
        self.twistedThread.app.AddPendingEvent(evt)
Passes on a status message to the gui
recipes/Python/286201_wx_twisted_support_using_threads/recipe-286201.py