# HG changeset patch # User Edouard Tisserant # Date 1381536878 -32400 # Node ID a82d867e7850911a7b03d6cd338fa171e846eae5 # Parent 6121ebff4da67b8f29bd7e988b602029ccc2ebb1 WxPython 2.9 support fix by J?rg H?bler diff -r 6121ebff4da6 -r a82d867e7850 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)