equal
deleted
inserted
replaced
639 # Twisted reactor needs to be stopped only before quit, |
639 # Twisted reactor needs to be stopped only before quit, |
640 # since it cannot be restarted |
640 # since it cannot be restarted |
641 ToDoBeforeQuit = [] |
641 ToDoBeforeQuit = [] |
642 def AddToDoBeforeQuit(self, Thing): |
642 def AddToDoBeforeQuit(self, Thing): |
643 self.ToDoBeforeQuit.append(Thing) |
643 self.ToDoBeforeQuit.append(Thing) |
644 print self.ToDoBeforeQuit |
|
645 |
644 |
646 def OnCloseFrame(self, event): |
645 def OnCloseFrame(self, event): |
647 for evt_type in [wx.EVT_SET_FOCUS, |
646 for evt_type in [wx.EVT_SET_FOCUS, |
648 wx.EVT_KILL_FOCUS, |
647 wx.EVT_KILL_FOCUS, |
649 wx.stc.EVT_STC_UPDATEUI]: |
648 wx.stc.EVT_STC_UPDATEUI]: |