X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94bc006bd2c76bb1c1b1f16e951d066784d38fca..2c3ebf8be5f192f23d8266603a72d19a7267c7c5:/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."""