def run(self): while True: pydev_guisupport.start_event_loop_wx(self.app) # There's an issue here: the event loop won't start if we don't actually have a window created, so, we have # to process the events manually (if redirect was True, we'd have a window, so, it'd properly block). time.sleep(0.01) self.app.ProcessPendingEvents()
def run(self): while True: pydev_guisupport.start_event_loop_wx(self.app) # There's an issue here: the event loop won't start if we don't actually have a window created, so, we have # to process the events manually (if redirect was True, we'd have a window, so, it'd properly block). time.sleep(.01) self.app.ProcessPendingEvents()
def run(self): while True: pydev_guisupport.start_event_loop_wx(self.app)