Changeset 32313


Ignore:
Timestamp:
Jul 26, 2008, 12:40:18 PM (16 years ago)
Author:
martinl
Message:

wxGUI: use wx.version() instead of wx.version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/gui/wxpython/gui_modules/globalvar.py

    r31645 r32313  
    3434        wxversion.select(str(majorVersion))
    3535        import wx
    36         version = wx.__version__
     36        version = wx.version().split(' ')[0]
    3737        if float(version[:3]) < majorVersion:
    3838            raise ValueError('You are using wxPython version %s' % str(version))
Note: See TracChangeset for help on using the changeset viewer.