controls/CustomGrid.py
changeset 606 d65122c61eaf
parent 600 7db729686416
child 614 8c4b57808f9c
--- 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: