Fixed OOR related problem in OGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -193,6 +193,7 @@ class TestWindow(wxShapeCanvas):
|
||||
if shape.GetParent() == None:
|
||||
shape.SetCanvas(None)
|
||||
shape.Destroy()
|
||||
self.diagram.Destroy()
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user