浏览代码

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 年之前
父节点
当前提交
c00e809703
共有 1 个文件被更改,包括 2 次插入1 次删除
  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