equal
deleted
inserted
replaced
96 |
96 |
97 def SetFocus(self): |
97 def SetFocus(self): |
98 self.Duration.SetFocus() |
98 self.Duration.SetFocus() |
99 |
99 |
100 |
100 |
101 class DurationCellEditor(wx.grid.PyGridCellEditor): |
101 class DurationCellEditor(wx.grid.GridCellEditor): |
102 ''' |
102 ''' |
103 Grid cell editor that uses DurationCellControl to display an edit button. |
103 Grid cell editor that uses DurationCellControl to display an edit button. |
104 ''' |
104 ''' |
105 def __init__(self, table, colname): |
105 def __init__(self, table, colname): |
106 wx.grid.PyGridCellEditor.__init__(self) |
106 wx.grid.GridCellEditor.__init__(self) |
107 |
107 |
108 self.Table = table |
108 self.Table = table |
109 self.Colname = colname |
109 self.Colname = colname |
110 |
110 |
111 def __del__(self): |
111 def __del__(self): |