diff -r c02818d7e29f -r 7e61baa047f0 controls/DurationCellEditor.py --- 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.