# HG changeset patch
# User laurent
# Date 1324072464 -3600
# Node ID 21a572d80bd7e947ab91a1f12fc1d03fc6f1344f
# Parent  eb2d9f2b356769a4726f32acbd0ff7a34a67ff36
Moving definition of grids fonts and colours into CustomGrid

diff -r eb2d9f2b3567 -r 21a572d80bd7 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)