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 năm trước cách đây
mục cha
commit
c00e809703
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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