changeset 1736 | 7e61baa047f0 |
parent 1730 | 64d8f52bc8c8 |
child 1767 | c74815729afd |
--- a/controls/DurationCellEditor.py Mon Aug 14 22:30:41 2017 +0300 +++ b/controls/DurationCellEditor.py Mon Aug 14 23:27:15 2017 +0300 @@ -26,6 +26,7 @@ from dialogs.DurationEditorDialog import DurationEditorDialog + class DurationCellControl(wx.PyControl): ''' @@ -94,6 +95,7 @@ def SetFocus(self): self.Duration.SetFocus() + class DurationCellEditor(wx.grid.PyGridCellEditor): ''' Grid cell editor that uses DurationCellControl to display an edit button.