delete the AuiManager before destroying the frame

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-05-08 17:51:21 +00:00
parent 9e47df4fba
commit 5ff565de94

View File

@@ -433,6 +433,7 @@ class PyAUIFrame(wx.Frame):
def OnClose(self, event): def OnClose(self, event):
self._mgr.UnInit() self._mgr.UnInit()
del self._mgr
self.Destroy() self.Destroy()
event.Skip() event.Skip()