Fix UltimateListCtrl FONTWEIGHT

NORMAL in Font Call should have been FONTWEIGHT, not FONTSYLE preventing UltimatListCtrl from working
This commit is contained in:
Ernst, Michael
2016-10-18 08:23:50 +02:00
parent b4e9d89f1a
commit 9ba0b9d372

View File

@@ -6122,7 +6122,7 @@ class UltimateListMainWindow(wx.ScrolledWindow):
# Hyperlinks things
normalFont = wx.SystemSettings.GetFont(wx.SYS_DEFAULT_GUI_FONT)
self._hypertextfont = wx.Font(normalFont.GetPointSize(), normalFont.GetFamily(),
normalFont.GetStyle(), wx.FONTSTYLE_NORMAL, True,
normalFont.GetStyle(), wx.FONTWEIGHT_NORMAL, True,
normalFont.GetFaceName(), normalFont.GetEncoding())
self._hypertextnewcolour = wx.BLUE
self._hypertextvisitedcolour = wx.Colour(200, 47, 200)