From 28bed70aa9162c430ed20e9d8d9983b2dd63cf10 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 1 Jun 2004 21:59:01 +0000 Subject: [PATCH] Use new DrawPoint signature git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/ogl/lines.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.45.2