wxPython (Phoenix) AUI: fix wx.PyDeadObjectErrors when restoring a notebook perspective if a notebook tab contains a control - backport of the fixes on Classic (see #14971).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775