[GRASS-SVN] r47052 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 7 18:48:07 EDT 2011


Author: lucadelu
Date: 2011-07-07 15:48:07 -0700 (Thu, 07 Jul 2011)
New Revision: 47052

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py
Log:
fix bug with wxpython version 2.8.11

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py	2011-07-07 22:47:18 UTC (rev 47051)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py	2011-07-07 22:48:07 UTC (rev 47052)
@@ -3082,7 +3082,7 @@
         widthText = wx.StaticText(panel, id = wx.ID_ANY, label = _("Width (pts):"))
         if fs:
             self.widthSpin = fs.FloatSpin(panel, id = wx.ID_ANY, min_val = 0, max_val = 30,
-                                          increment = 0.5, value = 1, extrastyle = fs.FS_RIGHT)
+                                          increment = 0.5, value = 1, style = fs.FS_RIGHT)
             self.widthSpin.SetFormat("%f")
             self.widthSpin.SetDigits(2)
         else:
@@ -3187,7 +3187,7 @@
         widthText = wx.StaticText(panel, id = wx.ID_ANY, label = _("Width (pts):"))
         if fs:
             self.outWidthSpin = fs.FloatSpin(panel, id = wx.ID_ANY, min_val = 0, max_val = 30,
-                                             increment = 0.5, value = 1, extrastyle = fs.FS_RIGHT)
+                                             increment = 0.5, value = 1, style = fs.FS_RIGHT)
             self.outWidthSpin.SetFormat("%f")
             self.outWidthSpin.SetDigits(1)
         else:
@@ -3408,7 +3408,7 @@
         widthText = wx.StaticText(panel, id = wx.ID_ANY, label = _("Set width (pts):"))
         if fs:
             self.widthSpin = fs.FloatSpin(panel, id = wx.ID_ANY, min_val = 0, max_val = 30,
-                                        increment = 0.5, value = 1, extrastyle = fs.FS_RIGHT)
+                                        increment = 0.5, value = 1, style = fs.FS_RIGHT)
             self.widthSpin.SetFormat("%f")
             self.widthSpin.SetDigits(1)
         else:



More information about the grass-commit mailing list