[GRASS-SVN] r37028 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 6 12:10:40 EDT 2009
Author: martinl
Date: 2009-05-06 12:10:40 -0400 (Wed, 06 May 2009)
New Revision: 37028
Modified:
grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
Log:
wxGUI: fix bug in DrawBitmap
(merge from devbr6, r37027)
Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py 2009-05-06 16:09:07 UTC (rev 37027)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py 2009-05-06 16:10:40 UTC (rev 37028)
@@ -473,7 +473,7 @@
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)
More information about the grass-commit
mailing list