git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34033
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
line_y = (last_point[1] + second_last_point[1]) / 2.0
point = wx.RealPoint(line_x, line_y)
line_y = (last_point[1] + second_last_point[1]) / 2.0
point = wx.RealPoint(line_x, line_y)
- self._lineControlPoints.insert(len(self._lineControlPoints), point)
+ self._lineControlPoints.insert(len(self._lineControlPoints)-1, point)
def DeleteLineControlPoint(self):
"""Delete an arbitary point on the line."""
def DeleteLineControlPoint(self):
"""Delete an arbitary point on the line."""