diff -r aa24cf3b7009 -r bf896711921c controls/CustomGrid.py --- a/controls/CustomGrid.py Wed Feb 27 11:25:39 2013 +0100 +++ b/controls/CustomGrid.py Wed Feb 27 11:33:41 2013 +0100 @@ -47,6 +47,10 @@ self.Bind(wx.grid.EVT_GRID_EDITOR_HIDDEN, self.OnEditorHidden) self.Bind(wx.EVT_KEY_DOWN, self.OnKeyDown) + def SetFocus(self): + if self: + wx.grid.Grid.SetFocus(self) + def SetDefaultValue(self, default_value): self.DefaultValue = default_value