[GRASS-SVN] r39709 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 12 16:55:11 EST 2009
Author: cmbarton
Date: 2009-11-12 16:55:09 -0500 (Thu, 12 Nov 2009)
New Revision: 39709
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py
Log:
Fix mouse dragging bug. Affected measurement, profile, zooming.
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py 2009-11-12 16:43:33 UTC (rev 39708)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py 2009-11-12 21:55:09 UTC (rev 39709)
@@ -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