cleanup after an exteption in the postcreate code, added StaticText tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user