Hi,
I am getting this exception on the toolbar:
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\toolbar.py", line 680, in <module>
test.Test().runTest(_dToolBar_test)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\test.py", line 51, in runTest
obj = class_(parent=panel, LogEvents=logEvents, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\toolbar.py", line 58, in __init__
attProperties=attProperties, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\pemmixin.py", line 204, in __init__
self._afterInit()
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\pemmixin.py", line 342, in
_afterInit
self.afterInit()
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\toolbar.py", line 649, in afterInit
tip="Copy", help="Much Longer Copy Help Text")
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\toolbar.py", line 125, in
appendButton
help, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\toolbar.py", line 198, in
_appendInsertButton
butt = tbiClass(tool, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\toolbar.py", line 512, in __init__
wxItem.ToolBar.bindEvent(dEvents.Update, self.__onUpdate)
AttributeError: 'ToolBarBase' object has no attribute 'bindEvent'
at line 512 I see the following in the debugger:
wxItem
<wx._core.ToolBarToolBase object at 0x055D30C0>
wxItem.ToolBar
<wx._core.ToolBarBase object at 0x07B58AE0>
I a bit in the dark on this, shouldn't the two above be dToolBar and
dToolBarItem instances?
I can see that dToolBarItem would get 'bindEvent' from being based on
'dObject', but I don't see how 'dToolBar' would get it.
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]