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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user