controls/LocationCellEditor.py
branchwxPython4
changeset 3305 ca11385ea5e9
parent 3303 0ffb41625592
child 3546 ee51d1deadfd
equal deleted inserted replaced
3304:3d736248ab3b 3305:ca11385ea5e9
   148 
   148 
   149     def SetFocus(self):
   149     def SetFocus(self):
   150         self.Location.SetFocus()
   150         self.Location.SetFocus()
   151 
   151 
   152 
   152 
   153 class LocationCellEditor(wx.grid.PyGridCellEditor):
   153 class LocationCellEditor(wx.grid.GridCellEditor):
   154     '''
   154     '''
   155     Grid cell editor that uses LocationCellControl to display a browse button.
   155     Grid cell editor that uses LocationCellControl to display a browse button.
   156     '''
   156     '''
   157     def __init__(self, table, controller):
   157     def __init__(self, table, controller):
   158         wx.grid.PyGridCellEditor.__init__(self)
   158         wx.grid.GridCellEditor.__init__(self)
   159 
   159 
   160         self.Table = table
   160         self.Table = table
   161         self.Controller = controller
   161         self.Controller = controller
   162 
   162 
   163     def __del__(self):
   163     def __del__(self):