WxPython 2.9 support fix by J?rg H?bler
authorEdouard Tisserant
Sat, 12 Oct 2013 09:14:38 +0900
changeset 789 a82d867e7850
parent 788 6121ebff4da6
child 790 1936110171a2
WxPython 2.9 support fix by J?rg H?bler
objdictgen/subindextable.py
--- a/objdictgen/subindextable.py	Sat Oct 12 09:09:04 2013 +0900
+++ b/objdictgen/subindextable.py	Sat Oct 12 09:14:38 2013 +0900
@@ -456,9 +456,9 @@
         self.SubindexGrid = wx.grid.Grid(id=ID_EDITINGPANELSUBINDEXGRID,
               name='SubindexGrid', parent=self.SubindexGridPanel, pos=wx.Point(0,
               0), size=wx.Size(-1, -1), style=0)
-        self.SubindexGrid.SetFont(wx.Font(12, 77, wx.NORMAL, wx.NORMAL, False,
+        self.SubindexGrid.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.NORMAL, False,
               'Sans'))
-        self.SubindexGrid.SetLabelFont(wx.Font(10, 77, wx.NORMAL, wx.NORMAL,
+        self.SubindexGrid.SetLabelFont(wx.Font(10, wx.SWISS, wx.NORMAL, wx.NORMAL,
               False, 'Sans'))
         self.SubindexGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGE,
               self.OnSubindexGridCellChange)