X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94bc006bd2c76bb1c1b1f16e951d066784d38fca..f5f93ea573cb7dbbf8c69bfa69466a66d59b1b64:/wxPython/wx/lib/ogl/_diagram.py 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."""