From: Robin Dunn Date: Sat, 18 Sep 2004 17:33:07 +0000 (+0000) Subject: Use line.Draw(dc) instead of line.GetEventHandler().Draw(dc) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/162662e91cbe29b0527eacd4cd398b5d4ab8fa96 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 --- diff --git a/wxPython/wx/lib/ogl/_basic.py b/wxPython/wx/lib/ogl/_basic.py index 142ee3366a..a08bd9ac65 100644 --- a/wxPython/wx/lib/ogl/_basic.py +++ b/wxPython/wx/lib/ogl/_basic.py @@ -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: