[ wxwindows-Bugs-1540777 ] wxStaticBitmap XPM transparency issue

SourceForge.net noreply at sourceforge.net
Tue Aug 15 09:57:50 PDT 2006


Bugs item #1540777, was opened at 2006-08-15 16:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1540777&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build -- windows
Group: Platform specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew M (gromituk)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxStaticBitmap XPM transparency issue

Initial Comment:
If an XPM (such as the one attached) has more than one
colour defined as being "None", i.e. transparent, only
one of the colours (represented by the dot in this
case) actually comes out transparent.

I know it's odd to have more than one colour defined as
being transparent, but I didn't do it: KIconEdit
generated this file, after I saved as one thing and
then edited the icon to become the two cyan rectangles.
 Perhaps not surprisingly, wxGTK does not exhibit the
problem.

If it's the underlying rendering that's at fault and it
would be an unnecessary overhead to correct it, it
would be nice if a note could be added to the
documentation warning of the problem, as it represents
a difference in behaviour between platforms.

If the file breaks the XPM standard then it's
KIconEdit's fault!

Problem occurs in 2.6.3 and 2.7.0-1.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1540777&group_id=9863




More information about the wx-dev mailing list