Hi,
I have this problem.
In a tree control I have to show items like a genericdirctrl, with the associated system icon.
Moreover if a file is under cvs or snv control I have to display the icon with the cvs o snv status (like TortoiseCVS does).
This is what I'm doing into a wxImageList instance:
and everything works fine except for some kind of icons.
When there's an icon with a mask associated I can only display the cvs status icon, but not the background bitmap.
Does it make any difference if you also convert the second icon to a bitmap and do a DrawBitmap of it to the memorydc, adding the transparent=True parameter?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Hi,
I have this problem.
In a tree control I have to show items like a genericdirctrl, with the associated system icon.
Moreover if a file is under cvs or snv control I have to display the icon with the cvs o snv status (like TortoiseCVS does).
This is what I'm doing into a wxImageList instance:
and everything works fine except for some kind of icons.
When there's an icon with a mask associated I can only display the cvs status icon, but not the background bitmap.
Does it make any difference if you also convert the second icon to a bitmap and do a DrawBitmap of it to the memorydc, adding the transparent=True parameter?
but did you mean useMask parameter in the DrawBitmap function call?
because transparent is an invalid parameter: