(self)
| 206 | event.Skip() |
| 207 | |
| 208 | def refreshUndo(self): |
| 209 | command = self.mainFrame.command |
| 210 | self.Enable(wx.ID_UNDO, False) |
| 211 | self.Enable(wx.ID_REDO, False) |
| 212 | if command.CanUndo(): |
| 213 | self.Enable(wx.ID_UNDO, True) |
| 214 | if command.CanRedo(): |
| 215 | self.Enable(wx.ID_REDO, True) |
no outgoing calls
no test coverage detected