Moving definition of grids fonts and colours into CustomGrid
authorlaurent
Fri, 16 Dec 2011 22:54:24 +0100
changeset 653 21a572d80bd7
parent 652 eb2d9f2b3567
child 654 9f6c091c316c
Moving definition of grids fonts and colours into CustomGrid
plugins/c_ext/CFileEditor.py
--- a/plugins/c_ext/CFileEditor.py	Wed Dec 14 15:17:47 2011 +0100
+++ b/plugins/c_ext/CFileEditor.py	Fri Dec 16 22:54:24 2011 +0100
@@ -546,10 +546,6 @@
         self.VariablesGrid = CustomGrid(id=ID_VARIABLESEDITORVARIABLESGRID,
               name='VariablesGrid', parent=self, pos=wx.Point(0, 0), 
               size=wx.Size(-1, -1), style=wx.VSCROLL)
-        self.VariablesGrid.SetFont(wx.Font(12, 77, wx.NORMAL, wx.NORMAL, False,
-              'Sans'))
-        self.VariablesGrid.SetLabelFont(wx.Font(10, 77, wx.NORMAL, wx.NORMAL,
-              False, 'Sans'))
         if wx.VERSION >= (2, 5, 0):
             self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGE, self.OnVariablesGridCellChange)
             self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, self.OnVariablesGridCellLeftClick)