Browse Source

wxGUI: fix bug in DrawBitmap
(merge from devbr6, https://trac.osgeo.org/grass/changeset/37027)


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

Martin Landa 16 years ago
parent
commit
49cbadacad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gui_modules/mapdisp_window.py

+ 1 - 1
gui/wxpython/gui_modules/mapdisp_window.py

@@ -473,7 +473,7 @@ class BufferedWindow(MapWindow, wx.Window):
                 self.bufferLast = dc.GetAsBitmap(wx.Rect(0, 0, self.Map.width, self.Map.height))
 
             pdcLast = PseudoDC()
-            pdcLast.DrawBitmap(self.bufferLast, wx.Point(0, 0), False)
+            pdcLast.DrawBitmap(self.bufferLast, 0, 0, False)
             pdcLast.DrawToDC(dc)
 
         # draw decorations (e.g. region box)