]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/ogl/lines.py
Making wxUSE_WEBKIT for optionally building wxWebKitCtrl.
[wxWidgets.git] / wxPython / wx / lib / ogl / lines.py
index cb02964527f2a061ca544822a268efd15bdc228f..f4a191be9a0b7a5dc4a982338f77f4bd89be3359 100644 (file)
@@ -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.