Beremiz.py
changeset 1442 ad9a7853dea2
parent 1441 826730e60407
child 1451 94e620cbd9de
equal deleted inserted replaced
1441:826730e60407 1442:ad9a7853dea2
   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]: