Phoenix agw.aui and Dabo

Hi,

I am working Dabo to make it compatible with Phoenix and I see this exception:

File "c:\dev\dabo - phoenix\dabo\ui\uiwx\dockform.py", line 1075, in <module>
   test.Test().runTest(_dDockForm_test)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\test.py", line 76, in runTest
   self.app.start()
File "c:\dev\dabo - phoenix\dabo\dApp.py", line 402, in start
   self.uiApp.start()
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\uiapp.py", line 464, in start
   self.MainLoop()
File "c:\Python27\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\core.py", line 1873, in MainLoop
   rv = wx.PyApp.MainLoop(self)
File "c:\Python27\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\lib\agw\aui\framemanager.py", line 9186, in OnLeftUp
   self.OnLeftUp_ClickButton(event)
File "c:\Python27\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\lib\agw\aui\framemanager.py", line 9531, in OnLeftUp_ClickButton
   self.ProcessMgrEvent(e)
File "c:\Python27\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\lib\agw\aui\framemanager.py", line 4621, in ProcessMgrEvent
   if self._frame.GetEventHandler().ProcessEvent(event):
File "c:\Python27\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\lib\agw\aui\framemanager.py", line 9953, in OnPaneButton
   self._frame.Close()
File "c:\Python27\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\lib\agw\aui\framemanager.py", line 3104, in OnClose
   if not event.GetVeto():

AttributeError: 'CloseEvent' object has no attribute 'GetVeto'

Should "GetVeto" be present, or what is the recommended fix for this?

Werner

Werner wrote:

AttributeError: 'CloseEvent' object has no attribute 'GetVeto'

Should "GetVeto" be present, or what is the recommended fix for this?

Yes, it should be there. I'll add it.

···

--
Robin Dunn
Software Craftsman