Browse Source

wxGUI: bugfix https://trac.osgeo.org/grass/ticket/292 - Erase display crashes
(merge from devbr6, https://trac.osgeo.org/grass/changeset/33295)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33296 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 years ago
parent
commit
89b3769875
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gui/wxpython/gui_modules/mapdisp.py

+ 2 - 1
gui/wxpython/gui_modules/mapdisp.py

@@ -817,7 +817,8 @@ class BufferedWindow(MapWindow, wx.Window):
         if self.pdcVector:
             self.Draw(self.pdcVector, pdctype='clear')
         
-        self.Draw(self.pdcVector, pdctype='clear')
+        self.Draw(self.pdcDec, pdctype='clear')
+        self.Draw(self.pdcTmp, pdctype='clear')
         
     def DragMap(self, moveto):
         """