]> git.saurik.com Git - wxWidgets.git/commitdiff
Use new DrawPoint signature
authorRobin Dunn <robin@alldunn.com>
Tue, 1 Jun 2004 21:59:01 +0000 (21:59 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 1 Jun 2004 21:59:01 +0000 (21:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/ogl/lines.py

index cb02964527f2a061ca544822a268efd15bdc228f..1012d160ccb8de7d73a6f1927d460a1800ccc59c 100644 (file)
@@ -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.