> Category: None
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Nobody/Anonymous (nobody)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: StaticBitmap
You don't tell your platform ( bad, no cookie for you ;) )
I'll assume Win32
> Initial Comment:
> If you have created a StaticBitmap as a placeholder
> with wxNullBitmap as template and you want to change
> the bitmap by calling SetBitmap(), then the mask of
> the new bitmap is ignored and the mask of the
> placeholder bitmap (a null mask) is used instead.
> Is this a feature or a bug? However it would be nicer
> to change the bitmap with its associated mask.
*Looks* like a wxWindows bug ( but I need to investigate further ).
As a workaround you might want to recreate the static bitmap
every time ( yes, it is an hack... )
Thanks for reporting!
Get latest updates about Open Source Projects, Conferences and News.