fixed transparency handling broken by the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -737,6 +737,9 @@ wxImage wxXPMDecoder::ReadData(const char **xpm_data)
|
|||||||
{
|
{
|
||||||
img.SetMask(true);
|
img.SetMask(true);
|
||||||
img.SetMaskColour(255, 0, 255);
|
img.SetMaskColour(255, 0, 255);
|
||||||
|
clr_data.R =
|
||||||
|
clr_data.B = 255;
|
||||||
|
clr_data.G = 0;
|
||||||
hasMask = true;
|
hasMask = true;
|
||||||
maskKey = key;
|
maskKey = key;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user