X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94bc006bd2c76bb1c1b1f16e951d066784d38fca..8bbd1bbf18bfc3ee0363870df5c26f585001c2d8:/wxPython/wx/lib/ogl/_diagram.py?ds=sidebyside diff --git a/wxPython/wx/lib/ogl/_diagram.py b/wxPython/wx/lib/ogl/_diagram.py index 8e8f834724..6bdf00185f 100644 --- a/wxPython/wx/lib/ogl/_diagram.py +++ b/wxPython/wx/lib/ogl/_diagram.py @@ -78,6 +78,7 @@ class Diagram(object): for shape in self._shapeList[:]: if not shape.GetParent(): self.RemoveShape(shape) + shape.Delete() def ShowAll(self, show): """Call Show for each shape in the diagram."""