Sfoglia il codice sorgente

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 anni fa
parent
commit
c00e809703
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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