Depricated PyGridCellEditor becomes GridCellEditor wxPython4
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Sun, 05 Sep 2021 05:03:36 +0200
branchwxPython4
changeset 3305 ca11385ea5e9
parent 3304 3d736248ab3b
child 3306 841fb2ee1213
Depricated PyGridCellEditor becomes GridCellEditor
controls/DurationCellEditor.py
controls/LocationCellEditor.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
--- 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