[GRASS-SVN] r39711 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 12 17:03:12 EST 2009
Author: cmbarton
Date: 2009-11-12 17:03:11 -0500 (Thu, 12 Nov 2009)
New Revision: 39711
Modified:
grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
Log:
Fix mouse dragging bug. Backport from develbranch_6 r39709.
Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py 2009-11-12 21:57:58 UTC (rev 39710)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py 2009-11-12 22:03:11 UTC (rev 39711)
@@ -345,8 +345,7 @@
if self.pen:
pdc.SetBrush(wx.Brush(wx.CYAN, wx.TRANSPARENT))
pdc.SetPen(self.pen)
- pdc.DrawLine(wx.Point(coords[0], coords[1]),
- wx.Point(coords[2], coords[3]))
+ pdc.DrawLinePoint(wx.Point(coords[0], coords[1]),wx.Point(coords[2], coords[3]))
pdc.SetIdBounds(drawid, wx.Rect(coords[0], coords[1], coords[2], coords[3]))
# self.ovlcoords[drawid] = coords
More information about the grass-commit
mailing list