[GRASS-SVN] r39441 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 8 07:39:03 EDT 2009


Author: martinl
Date: 2009-10-08 07:39:01 -0400 (Thu, 08 Oct 2009)
New Revision: 39441

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: refresh after vector feature is added


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py	2009-10-08 10:38:31 UTC (rev 39440)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py	2009-10-08 11:39:01 UTC (rev 39441)
@@ -506,7 +506,7 @@
         If self.redrawAll is False on self.pdcTmp content is re-drawn
         """
         Debug.msg(4, "BufferedWindow.OnPaint(): redrawAll=%s" % self.redrawAll)
-
+        
         dc = wx.BufferedPaintDC(self, self.buffer)
         
         ### dc.SetBackground(wx.Brush("White"))
@@ -1986,7 +1986,8 @@
                 self.UpdateMap(render=False)
 
             self.redrawAll = True
-            
+            self.Refresh()
+        
         event.Skip()
 
     def OnMiddleDown(self, event):



More information about the grass-commit mailing list