git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-09-23 00:43:47 +00:00
parent da86e17765
commit cd5cb880d0
2 changed files with 4 additions and 7 deletions

View File

@@ -333,7 +333,7 @@ def GraphicsStraightenLine(point1, point2):
elif abs(float(dy) / dx) > 1:
point2[0] = point1[0]
else:
point2[1] = point1[0]
point2[1] = point1[1]