[GRASS-SVN] r61808 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 5 14:50:58 PDT 2014
Author: annakrat
Date: 2014-09-05 14:50:58 -0700 (Fri, 05 Sep 2014)
New Revision: 61808
Modified:
grass/trunk/gui/wxpython/gui_core/preferences.py
Log:
wxGUI/preferences: fix font dialog on Windows
Modified: grass/trunk/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/preferences.py 2014-09-05 19:48:09 UTC (rev 61807)
+++ grass/trunk/gui/wxpython/gui_core/preferences.py 2014-09-05 21:50:58 UTC (rev 61808)
@@ -1467,9 +1467,9 @@
if size == None or size == 0: size = 11
size = float(size)
if type == None or type == '': type = 'Courier'
-
- outfont = wx.Font(size, wx.FONTFAMILY_MODERN, wx.NORMAL, 0, faceName = type)
-
+
+ outfont = wx.Font(size, wx.FONTFAMILY_MODERN, wx.NORMAL, wx.FONTWEIGHT_NORMAL, faceName=type)
+
fontdata = wx.FontData()
fontdata.EnableEffects(True)
fontdata.SetColour('black')
More information about the grass-commit
mailing list