X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae601e32a8877d7968fd4552ea7857be11a4d15c..b6294124ecb7b6b72e4ef0b72e2934d74f56e65b:/wxPython/wx/lib/ogl/_basic.py 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: