Toggle tools don't use 2nd bitmap?

When I try a tool with 2 bitmaps and toggle set, I never see the 2nd bitmap. This is with the latest wxPython and windowsXP. Is this a known problem? I saw one other poster from the ancient past who had what sounded like a similar problem but not response to his message.

I want to provide a bitmap for the selected state and a separate bitmap for the unselected state on a toolbar tool.

Thanks
gb

Gary Bishop wrote:

When I try a tool with 2 bitmaps and toggle set, I never see the 2nd bitmap. This is with the latest wxPython and windowsXP. Is this a known problem? I saw one other poster from the ancient past who had what sounded like a similar problem but not response to his message.

I want to provide a bitmap for the selected state and a separate bitmap for the unselected state on a toolbar tool.

The native toolbar control used on Windows does not use the 2nd bitmap, it manages drawing the toggled state itself.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!