wxGenBitmapButton seems to be broken in the demo and my app.
File “F:\phenix\wxgui\TaskToolbar.py”, line 118, in AddButton
File “/usr/local_cci/Python-2.2.1t/lib/python2.2/site-packages/wxPython/lib/buttons.py”, line 323, in init
wxGenButton.init(self, parent, ID, “”, pos, size, style, validator, name)
File “/usr/local_cci/Python-2.2.1t/lib/python2.2/site-packages/wxPython/lib/buttons.py”, line 78, in init
self.InitColours()
File “/usr/local_cci/Python-2.2.1t/lib/python2.2/site-packages/wxPython/lib/buttons.py”, line 142, in InitColours
self.SetBackgroundColour(faceClr)
File “/usr/local_cci/Python-2.2.1t/lib/python2.2/site-packages/wxPython/lib/buttons.py”, line 154, in SetBackgroundColour
wxWindow.SetBackgroundColour(self, colour)
TypeError: unbound method SetBackgroundColour() must be called with wxWindow instance as first argument (got wxGenBitmapButton instance instead)