Fixed font discrepancy from different wxPython versions.

This commit is contained in:
blitzmann
2014-05-16 00:59:56 -04:00
committed by Gleb Golubitsky
parent b4f4024903
commit a603a4359a
4 changed files with 30 additions and 13 deletions

15
gui/utils/fonts.py Normal file
View File

@@ -0,0 +1,15 @@
'''
Font file to handle the differences in font calculations between
different wxPython versions
'''
import wx
if 'wxMSW' in wx.PlatformInfo and wx.VERSION < (2,9):
SMALL = (0,12)
NORMAL = (0,14)
BIG = (0,15)
else:
SMALL = (0,10)
NORMAL = (0,11)
BIG = (0,12)