X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96bfd05319f9e393843e84ca5274d85ff248bad4..5bf2abe34850e0952a44f3be4a4390ea12c55bd0:/wxPython/demo/wxOGL.py?ds=sidebyside 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() #----------------------------------------------------------------------