[GRASS-SVN] r37027 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 6 12:09:07 EDT 2009
Author: martinl
Date: 2009-05-06 12:09:07 -0400 (Wed, 06 May 2009)
New Revision: 37027
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py
Log:
wxGUI: fix bug in DrawBitmap
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py 2009-05-06 12:22:21 UTC (rev 37026)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py 2009-05-06 16:09:07 UTC (rev 37027)
@@ -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