diff -r 279c16d017f3 -r d65122c61eaf controls/CustomGrid.py --- a/controls/CustomGrid.py Wed Dec 14 15:18:32 2011 +0100 +++ b/controls/CustomGrid.py Fri Dec 16 22:44:47 2011 +0100 @@ -39,6 +39,16 @@ self.Editable = True + self.AddButton = None + self.DeleteButton = None + self.UpButton = None + self.DownButton = None + + self.SetFont(wx.Font(12, 77, wx.NORMAL, wx.NORMAL, False, 'Sans')) + self.SetLabelFont(wx.Font(10, 77, wx.NORMAL, wx.NORMAL, False, 'Sans')) + self.SetSelectionBackground(wx.WHITE) + self.SetSelectionForeground(wx.BLACK) + if wx.VERSION >= (2, 6, 0): self.Bind(wx.grid.EVT_GRID_SELECT_CELL, self.OnSelectCell) else: