X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a24dc1a836159cbec24c577d9e576f8dbafad728..3d2eaa5d5917bedbf5b5a54a24d7559fd1e5df67:/wxPython/misc/widgetLayoutTest.py diff --git a/wxPython/misc/widgetLayoutTest.py b/wxPython/misc/widgetLayoutTest.py index b2bea7a791..ebe741b6c2 100644 --- a/wxPython/misc/widgetLayoutTest.py +++ b/wxPython/misc/widgetLayoutTest.py @@ -295,6 +295,7 @@ class LayoutTestFrame(wx.Frame): wx.MessageBox("Got a '%s' Exception!" % e.__class__.__name__, "Error") import traceback traceback.print_exc() + w.Destroy() return # Put the widget in a sizer and the sizer in the testPanel