]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxOGL.py
fixed clipping of items with icons text in report mode
[wxWidgets.git] / wxPython / demo / wxOGL.py
index 63501224ae3e821926fa7ec5a5d8cb4c22d5dc3a..a13bee893a23472682d7dbcd7aedbe77094d1461 100644 (file)
@@ -193,6 +193,7 @@ class TestWindow(wxShapeCanvas):
             if shape.GetParent() == None:
                 shape.SetCanvas(None)
                 shape.Destroy()
+        self.diagram.Destroy()
 
 
 #----------------------------------------------------------------------