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:
Vadim Zeitlin
2006-02-13 15:30:28 +00:00
parent 4e43c81518
commit 2884838a3c

View File

@@ -737,6 +737,9 @@ wxImage wxXPMDecoder::ReadData(const char **xpm_data)
{
img.SetMask(true);
img.SetMaskColour(255, 0, 255);
clr_data.R =
clr_data.B = 255;
clr_data.G = 0;
hasMask = true;
maskKey = key;
}