[GRASS-SVN] r64663 - grass/trunk/gui/wxpython/mapswipe
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 17 12:42:59 PST 2015
Author: annakrat
Date: 2015-02-17 12:42:59 -0800 (Tue, 17 Feb 2015)
New Revision: 64663
Modified:
grass/trunk/gui/wxpython/mapswipe/mapwindow.py
Log:
wxGUI/mapswipe: fix needed after changes in Draw function parameter in BufferedWindow
Modified: grass/trunk/gui/wxpython/mapswipe/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/mapswipe/mapwindow.py 2015-02-17 16:42:58 UTC (rev 64662)
+++ grass/trunk/gui/wxpython/mapswipe/mapwindow.py 2015-02-17 20:42:59 UTC (rev 64663)
@@ -115,7 +115,8 @@
if not self.movingSash:
super(SwipeBufferedWindow, self).OnSize(event)
- def Draw(self, pdc, img = None, drawid = None, pdctype = 'image', coords = [0, 0, 0, 0], pen = None):
+ def Draw(self, pdc, img=None, drawid=None, pdctype='image',
+ coords=[0, 0, 0, 0], pen=None, brush=None):
"""Draws image (map) with translated coordinates.
"""
Debug.msg(2, "SwipeBufferedWindow.Draw()")
@@ -123,7 +124,7 @@
if pdctype == 'image':
coords = self.GetImageCoords()
- return super(SwipeBufferedWindow, self).Draw(pdc, img, drawid, pdctype, coords, pen)
+ return super(SwipeBufferedWindow, self).Draw(pdc, img, drawid, pdctype, coords, pen, brush)
def OnLeftDown(self, event):
"""Left mouse button pressed.
More information about the grass-commit
mailing list