]> git.saurik.com Git - wxWidgets.git/commitdiff
Use line.Draw(dc) instead of line.GetEventHandler().Draw(dc)
authorRobin Dunn <robin@alldunn.com>
Sat, 18 Sep 2004 17:33:07 +0000 (17:33 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 18 Sep 2004 17:33:07 +0000 (17:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/ogl/_basic.py

index 142ee3366af332fb2a3109413bfd7dea6a35ec28..a08bd9ac656b239fceb3a88df53091533c8df7cc 100644 (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: