[GRASS-SVN] r39595 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 20 06:24:54 EDT 2009


Author: martinl
Date: 2009-10-20 06:24:53 -0400 (Tue, 20 Oct 2009)
New Revision: 39595

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py
Log:
wxGUI: fix show comp. region


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py	2009-10-20 07:50:14 UTC (rev 39594)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py	2009-10-20 10:24:53 UTC (rev 39595)
@@ -359,8 +359,8 @@
                     return
                 i = 1
                 while i < len(coords):
-                    pdc.DrawLine(wx.Point(coords[i-1][0], coords[i-1][1]),
-                                 wx.Point(coords[i][0], coords[i][1]))
+                    pdc.DrawLinePoint(wx.Point(coords[i-1][0], coords[i-1][1]),
+                                      wx.Point(coords[i][0], coords[i][1]))
                     i += 1
 
                 # get bounding rectangle for polyline



More information about the grass-commit mailing list