X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96bfd05319f9e393843e84ca5274d85ff248bad4..9df06f5b696cde13b1220ae6ec60dc6f32d2ab6f:/wxPython/demo/wxOGL.py?ds=inline diff --git a/wxPython/demo/wxOGL.py b/wxPython/demo/wxOGL.py index 63501224ae..a13bee893a 100644 --- a/wxPython/demo/wxOGL.py +++ b/wxPython/demo/wxOGL.py @@ -193,6 +193,7 @@ class TestWindow(wxShapeCanvas): if shape.GetParent() == None: shape.SetCanvas(None) shape.Destroy() + self.diagram.Destroy() #----------------------------------------------------------------------