git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16158
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if self.ie:
self.ie.Cleanup()
self.ie = None
if self.ie:
self.ie.Cleanup()
self.ie = None
style=wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE)
self.CreateStatusBar()
self.tp = TestPanel(self, sys.stdout, self)
style=wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE)
self.CreateStatusBar()
self.tp = TestPanel(self, sys.stdout, self)
+ EVT_CLOSE(self, self.OnCloseWindow)
+ def OnCloseWindow(self, evt):
+ self.tp.Destroy()
+ self.Destroy()
app = wxPySimpleApp()
frame = TestFrame()
app = wxPySimpleApp()
frame = TestFrame()