lib.agw.aui perspective error (recreatable in demo)

I’m up-to-date in svn as of the time of this post (73357)

Launch the AUI demo, then in the menu select: Perspectives->AuiNotebook Perspectives->Default Startup

Main notebook should lose its tabs, and throw the following exceptions:
[davidsj2@scts01] /disk01/data/davidsj2/wxPython-2.9.4.0/demo > python demo.py
Traceback (most recent call last):
File “agw/AUI.py”, line 2196, in OnRestoreNBPerspective
auibook.LoadPerspective(self._nb_perspectives[event.GetId() - ID_FirstNBPerspective])
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 3183, in LoadPerspective
self.SetSelection(sel_page)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 4167, in SetSelection
ctrl.MakeTabVisible(ctrl_idx, ctrl)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1695, in MakeTabVisible
if not self.IsTabVisible(tabPage, self.GetTabOffset(), dc, win):
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1593, in IsTabVisible
self.Render(dc, wnd)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1378, in Render
[AUI_BUTTON_STATE_HIDDEN])[0], page.control)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/tabart.py”, line 697, in GetTabSize
tab_width += control.GetSize().GetWidth() + 4
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py”, line 16717, in getattr
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the ProgressGauge object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1854, in OnPaint
self.Render(dc, self)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1378, in Render
[AUI_BUTTON_STATE_HIDDEN])[0], page.control)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/tabart.py”, line 697, in GetTabSize
tab_width += control.GetSize().GetWidth() + 4
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py”, line 16717, in getattr
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the ProgressGauge object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1854, in OnPaint
self.Render(dc, self)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1378, in Render
[AUI_BUTTON_STATE_HIDDEN])[0], page.control)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/tabart.py”, line 697, in GetTabSize
tab_width += control.GetSize().GetWidth() + 4
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py”, line 16717, in getattr
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the ProgressGauge object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1854, in OnPaint
self.Render(dc, self)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1378, in Render
[AUI_BUTTON_STATE_HIDDEN])[0], page.control)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/tabart.py”, line 697, in GetTabSize
tab_width += control.GetSize().GetWidth() + 4
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py”, line 16717, in getattr
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the ProgressGauge object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1854, in OnPaint
self.Render(dc, self)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1378, in Render
[AUI_BUTTON_STATE_HIDDEN])[0], page.control)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/tabart.py”, line 697, in GetTabSize
tab_width += control.GetSize().GetWidth() + 4
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py”, line 16717, in getattr
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the ProgressGauge object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
File “agw/AUI.py”, line 2196, in OnRestoreNBPerspective
auibook.LoadPerspective(self._nb_perspectives[event.GetId() - ID_FirstNBPerspective])
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 3183, in LoadPerspective
self.SetSelection(sel_page)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 4167, in SetSelection
ctrl.MakeTabVisible(ctrl_idx, ctrl)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1695, in MakeTabVisible
if not self.IsTabVisible(tabPage, self.GetTabOffset(), dc, win):
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1593, in IsTabVisible
self.Render(dc, wnd)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1378, in Render
[AUI_BUTTON_STATE_HIDDEN])[0], page.control)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/tabart.py”, line 697, in GetTabSize
tab_width += control.GetSize().GetWidth() + 4
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py”, line 16717, in getattr
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the ProgressGauge object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1854, in OnPaint
self.Render(dc, self)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1378, in Render
[AUI_BUTTON_STATE_HIDDEN])[0], page.control)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/tabart.py”, line 697, in GetTabSize
tab_width += control.GetSize().GetWidth() + 4
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py”, line 16717, in getattr
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the ProgressGauge object has been deleted, attribute access no longer allowed.
Traceback (most recent call last):
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1854, in OnPaint
self.Render(dc, self)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/auibook.py”, line 1378, in Render
[AUI_BUTTON_STATE_HIDDEN])[0], page.control)
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/agw/aui/tabart.py”, line 697, in GetTabSize
tab_width += control.GetSize().GetWidth() + 4
File “/disk01/lib/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py”, line 16717, in getattr
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the ProgressGauge object has been deleted, attribute access no longer allowed.