Browse Source

wxversion doesn't work with bundled wxpython

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36268 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 years ago
parent
commit
c00e809703
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gui/wxpython/gui_modules/globalvar.py

+ 2 - 1
gui/wxpython/gui_modules/globalvar.py

@@ -51,7 +51,8 @@ def CheckForWx():
 
     check = False
 
-CheckForWx()
+if not os.getenv("GRASS_WXBUNDLED"):
+    CheckForWx()
 import wx
 import wx.lib.flatnotebook as FN