[GRASS-SVN] r64695 - grass/branches/releasebranch_7_0/gui/wxpython/mapwin

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 19 15:31:29 PST 2015


Author: annakrat
Date: 2015-02-19 15:31:29 -0800 (Thu, 19 Feb 2015)
New Revision: 64695

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/mapwin/analysis.py
Log:
wxGUI/profile: use SafeYield to prevent recursion error on Windows (merge from trunk, r64694)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/mapwin/analysis.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/mapwin/analysis.py	2015-02-19 23:29:41 UTC (rev 64694)
+++ grass/branches/releasebranch_7_0/gui/wxpython/mapwin/analysis.py	2015-02-19 23:31:29 UTC (rev 64695)
@@ -78,7 +78,7 @@
         self._mapWindow.ClearLines()
         self._registeredGraphics.Draw(pdc=self._mapWindow.pdcTmp)
         self._mapWindow.Refresh()
-        wx.Yield()
+        wx.SafeYield()
 
         self._doAnalysis(coords)
 



More information about the grass-commit mailing list