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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 26 15:43:45 EDT 2008


Author: martinl
Date: 2008-07-26 15:43:45 -0400 (Sat, 26 Jul 2008)
New Revision: 32314

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/globalvar.py
Log:
wxGUI: use wx.version() instead of wx.\_\_version\_\_ (merged from trunk, r32313)

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/globalvar.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/globalvar.py	2008-07-26 19:40:18 UTC (rev 32313)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/globalvar.py	2008-07-26 19:43:45 UTC (rev 32314)
@@ -33,7 +33,7 @@
         import wxversion
         wxversion.select(str(majorVersion))
         import wx
-        version = wx.__version__
+        version = wx.version().split(' ')[0]
         if float(version[:3]) < majorVersion:
             raise ValueError('You are using wxPython version %s' % str(version))
         if float(version[:3]) == 2.8 and \



More information about the grass-commit mailing list