From 162662e91cbe29b0527eacd4cd398b5d4ab8fa96 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 18 Sep 2004 17:33:07 +0000 Subject: [PATCH] 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 --- wxPython/wx/lib/ogl/_basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.50.0