Browse Source

wxGUI: fix show comp. region
(merge from https://trac.osgeo.org/grass/changeset/39595 devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39596 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 15 năm trước cách đây
mục cha
commit
c7c4d1cefb
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      gui/wxpython/gui_modules/mapdisp_window.py

+ 2 - 2
gui/wxpython/gui_modules/mapdisp_window.py

@@ -359,8 +359,8 @@ class BufferedWindow(MapWindow, wx.Window):
                     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