fix wrong font family in CustromGrid control
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 17 Nov 2016 14:11:48 +0300
changeset 1568 ad7c7df6cbeb
parent 1567 a4bf874e4949
child 1569 06632b380d2a
fix wrong font family in CustromGrid control

closes #10
controls/CustomGrid.py
--- a/controls/CustomGrid.py	Thu Nov 17 14:04:44 2016 +0300
+++ b/controls/CustomGrid.py	Thu Nov 17 14:11:48 2016 +0300
@@ -37,8 +37,8 @@
         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.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, False, 'Sans'))
+        self.SetLabelFont(wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.NORMAL, False, 'Sans'))
         self.SetSelectionBackground(wx.WHITE)
         self.SetSelectionForeground(wx.BLACK)
         self.DisableDragRowSize()