I have a tool bar with some custom icons (png images). I have both
enabled and disabled icon versions. Each toolbar item was added in this
way:
tb.add_tool(ID_ADD, ‘add’, add_bmp, add_d_bmp, Wx::ITEM_NORMAL, ‘Add
Item’, ‘’)
When I launch the app, the icons which have been disabled via:
get_tool_bar.enable_tool(ID_ADD, false)
show black backgrounds instead of the normal transparency present in the
active icons. The disabled versions of the icons have a transparency
mask and are just re-colored versions of the active version. In fact,
even if I use the active icon for the disabled version, it still shows a
black rectangle as the background.
Thoughts? Thanks!