Use line.Draw(dc) instead of line.GetEventHandler().Draw(dc)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-09-18 17:33:07 +00:00
parent ae601e32a8
commit 162662e91c

View File

@ -814,7 +814,7 @@ class Shape(ShapeEvtHandler):
for line in self._lines:
if attachment == -1 or (line.GetTo() == self and line.GetAttachmentTo() == attachment or line.GetFrom() == self and line.GetAttachmentFrom() == attachment):
line.GetEventHandler().Draw(dc)
line.Draw(dc)
if recurse:
for child in self._children: