Bitmaps for disabled Toolbar buttons

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!

Hi,

2009/10/28 El Gato [email protected]:

show black backgrounds instead of the normal transparency present in the
active icons.

Do you use Windows XP ?
If it is the case, see the installation notes regarding Windows XP
(http://wxruby.rubyforge.org/wiki/wiki.pl?Installation) or read
directly the following post :
Ruby on Windows: Windows XP Visual Style Controls with wxRuby

Cheers.
Chauk-Mean.

Chauk-Mean P. wrote:

Hi,

2009/10/28 El Gato [email protected]:

show black backgrounds instead of the normal transparency present in the
active icons.

Do you use Windows XP ?
If it is the case, see the installation notes regarding Windows XP
(http://wxruby.rubyforge.org/wiki/wiki.pl?Installation) or read
directly the following post :
Ruby on Windows: Windows XP Visual Style Controls with wxRuby

Cheers.
Chauk-Mean.

Perfect! Thanks so much!