From: Robin Dunn Date: Tue, 1 Jun 2004 21:59:01 +0000 (+0000) Subject: Use new DrawPoint signature X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/28bed70aa9162c430ed20e9d8d9983b2dd63cf10 Use new DrawPoint signature git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/lib/ogl/lines.py b/wxPython/wx/lib/ogl/lines.py index cb02964527..1012d160cc 100644 --- a/wxPython/wx/lib/ogl/lines.py +++ b/wxPython/wx/lib/ogl/lines.py @@ -1018,7 +1018,8 @@ class LineShape(Shape): if sys.platform[:3]=="win": # For some reason, last point isn't drawn under Windows - dc.DrawPoint(points[-1]) + pt = points[-1] + dc.DrawPoint(pt.x, pt.y) # Problem with pen - if not a solid pen, does strange things # to the arrowhead. So make (get) a new pen that's solid.