Use new DrawPoint signature

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-06-01 21:59:01 +00:00
parent e3b71cb883
commit 28bed70aa9

View 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.