# HG changeset patch # User Edouard Tisserant # Date 1630811016 -7200 # Node ID ca11385ea5e95152b68d51b5ab7402ff7ec1f829 # Parent 3d736248ab3b10d78cf83528c7aa0e2ebb9279b2 Depricated PyGridCellEditor becomes GridCellEditor diff -r 3d736248ab3b -r ca11385ea5e9 controls/DurationCellEditor.py --- a/controls/DurationCellEditor.py Sun Sep 05 05:01:34 2021 +0200 +++ b/controls/DurationCellEditor.py Sun Sep 05 05:03:36 2021 +0200 @@ -98,12 +98,12 @@ self.Duration.SetFocus() -class DurationCellEditor(wx.grid.PyGridCellEditor): +class DurationCellEditor(wx.grid.GridCellEditor): ''' Grid cell editor that uses DurationCellControl to display an edit button. ''' def __init__(self, table, colname): - wx.grid.PyGridCellEditor.__init__(self) + wx.grid.GridCellEditor.__init__(self) self.Table = table self.Colname = colname diff -r 3d736248ab3b -r ca11385ea5e9 controls/LocationCellEditor.py --- a/controls/LocationCellEditor.py Sun Sep 05 05:01:34 2021 +0200 +++ b/controls/LocationCellEditor.py Sun Sep 05 05:03:36 2021 +0200 @@ -150,12 +150,12 @@ self.Location.SetFocus() -class LocationCellEditor(wx.grid.PyGridCellEditor): +class LocationCellEditor(wx.grid.GridCellEditor): ''' Grid cell editor that uses LocationCellControl to display a browse button. ''' def __init__(self, table, controller): - wx.grid.PyGridCellEditor.__init__(self) + wx.grid.GridCellEditor.__init__(self) self.Table = table self.Controller = controller