[GRASS-SVN] r50100 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 9 04:55:27 EST 2012
Author: lucadelu
Date: 2012-01-09 01:55:27 -0800 (Mon, 09 Jan 2012)
New Revision: 50100
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py
Log:
fix bug on font setting with wx version 2.8.11
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py 2012-01-08 22:40:46 UTC (rev 50099)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py 2012-01-09 09:55:27 UTC (rev 50100)
@@ -2194,7 +2194,7 @@
self.spin = wx.SpinCtrl(parent = panel, id = wx.ID_ANY)
if self.fontsize:
- self.spin.SetValue(self.fontsize)
+ self.spin.SetValue(int(self.fontsize))
self.spin.Bind(wx.EVT_SPINCTRL, self.OnSizeSpin)
self.spin.Bind(wx.EVT_TEXT, self.OnSizeSpin)
gridSizer.Add(item = self.spin,
More information about the grass-commit
mailing list