equal
deleted
inserted
replaced
180 old_loc = self.Table.GetValueByName(row, 'Location') |
180 old_loc = self.Table.GetValueByName(row, 'Location') |
181 return self.EndEditInternal(row, col, grid, old_loc) |
181 return self.EndEditInternal(row, col, grid, old_loc) |
182 |
182 |
183 def SetSize(self, rect): |
183 def SetSize(self, rect): |
184 self.CellControl.SetDimensions(rect.x + 1, rect.y, |
184 self.CellControl.SetDimensions(rect.x + 1, rect.y, |
185 rect.width, rect.height, |
185 rect.width, rect.height, |
186 wx.SIZE_ALLOW_MINUS_ONE) |
186 wx.SIZE_ALLOW_MINUS_ONE) |
187 |
187 |
188 def Clone(self): |
188 def Clone(self): |
189 return LocationCellEditor(self.Table, self.Controller) |
189 return LocationCellEditor(self.Table, self.Controller) |