Fixed wrong append() name

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-09-08 23:50:59 +00:00
parent 4629016dfb
commit d8f9d612be

View File

@ -1082,18 +1082,18 @@ class LineShape(Shape):
control = LineControlPoint(self._canvas, self, CONTROL_POINT_SIZE, first[0], first[1], CONTROL_POINT_ENDPOINT_FROM)
control._point = first
self._canvas.AddShape(control)
self._controlPoints.Append(control)
self._controlPoints.append(control)
for point in self._lineControlPoints[1:-1]:
control = LineControlPoint(self._canvas, self, CONTROL_POINT_SIZE, point[0], point[1], CONTROL_POINT_LINE)
control._point = point
self._canvas.AddShape(control)
self._controlPoints.Append(control)
self._controlPoints.append(control)
control = LineControlPoint(self._canvas, self, CONTROL_POINT_SIZE, last[0], last[1], CONTROL_POINT_ENDPOINT_TO)
control._point = last
self._canvas.AddShape(control)
self._controlPoints.Append(control)
self._controlPoints.append(control)
def ResetControlPoints(self):
if self._canvas and self._lineControlPoints: