X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f847103a32507f629c581fa900d95e97dfe16df0..5b8f917c3007b1776f55cba6b71843b83d412bf3:/wxPython/wx/lib/ogl/lines.py diff --git a/wxPython/wx/lib/ogl/lines.py b/wxPython/wx/lib/ogl/lines.py index cb02964527..f4a191be9a 100644 --- a/wxPython/wx/lib/ogl/lines.py +++ b/wxPython/wx/lib/ogl/lines.py @@ -5,8 +5,8 @@ # # Author: Pierre Hjälm (from C++ original by Julian Smart) # -# Created: 20040508 -# RCS-ID: +# Created: 2004-05-08 +# RCS-ID: $Id$ # Copyright: (c) 2004 Pierre Hjälm - 1998 Julian Smart # Licence: wxWindows license #---------------------------------------------------------------------------- @@ -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.