[GRASS-SVN] r39596 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 20 06:45:32 EDT 2009


Author: martinl
Date: 2009-10-20 06:45:31 -0400 (Tue, 20 Oct 2009)
New Revision: 39596

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
Log:
wxGUI: fix show comp. region
	(merge from r39595 devbr6)


Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py	2009-10-20 10:24:53 UTC (rev 39595)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py	2009-10-20 10:45:31 UTC (rev 39596)
@@ -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