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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user