[GRASS-dev] Re: [GRASS GIS] #756: Dragging instead of just clicking
for profile transect and measurement zooms window
GRASS GIS
trac at osgeo.org
Mon Nov 2 13:12:30 EST 2009
#756: Dragging instead of just clicking for profile transect and measurement
zooms window
--------------------------+-------------------------------------------------
Reporter: cmbarton | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: reopened
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: profile measure mousedrag
Platform: Unspecified | Cpu: All
--------------------------+-------------------------------------------------
Comment (by cmbarton):
Here the error that is raised:
*
*
Traceback (most recent call last):
File "/Users/cmbarton/grass_dev/grass6_src/dist.i386
-apple-
darwin9.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 1057, in MouseActions
self.OnDragging(event)
File "/Users/cmbarton/grass_dev/grass6_src/dist.i386
-apple-
darwin9.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 1147, in OnDragging
self.MouseDraw(pdc=self.pdcTmp)
File "/Users/cmbarton/grass_dev/grass6_src/dist.i386
-apple-
darwin9.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 960, in MouseDraw
self.Draw(pdc, drawid=self.lineid, pdctype='line',
coords=mousecoords)
File "/Users/cmbarton/grass_dev/grass6_src/dist.i386
-apple-
darwin9.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 349, in Draw
wx.Point(coords[2], coords[3]))
File "//usr/local/lib/wxPython-
unicode-2.8.10.1/lib/python2.5/site-packages/wx-2.8-mac-
unicode/wx/_gdi.py", line 7209, in DrawLine
return _gdi_.PseudoDC_DrawLine(*args, **kwargs)
TypeError
:
PseudoDC_DrawLine() takes exactly 5 arguments (3 given)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/756#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list