[GRASS-SVN] r50528 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 28 12:51:18 EST 2012
Author: annakrat
Date: 2012-01-28 09:51:18 -0800 (Sat, 28 Jan 2012)
New Revision: 50528
Modified:
grass/trunk/gui/wxpython/gui_core/mapdisp.py
Log:
wxGUI: implement OnRender method in SingleMapFrame
Modified: grass/trunk/gui/wxpython/gui_core/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/mapdisp.py 2012-01-28 17:46:58 UTC (rev 50527)
+++ grass/trunk/gui/wxpython/gui_core/mapdisp.py 2012-01-28 17:51:18 UTC (rev 50528)
@@ -406,6 +406,14 @@
"""!Returns map window"""
return self.MapWindow
+ def OnRender(self, event):
+ """!Re-render map composition (each map layer)
+ """
+ self.GetWindow().UpdateMap(render = True, renderVector = True)
+
+ # update statusbar
+ self.StatusbarUpdate()
+
class DoubleMapFrame(MapFrameBase):
"""! Frame with two map windows.
More information about the grass-commit
mailing list