Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
c00e809703
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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