From: Vadim Zeitlin Date: Mon, 13 Feb 2006 15:30:28 +0000 (+0000) Subject: fixed transparency handling broken by the last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2884838a3c63fc196077ae0353cab3b5c8c5e6d7?ds=inline 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 --- diff --git a/src/common/xpmdecod.cpp b/src/common/xpmdecod.cpp index 46a7c2486c..04b25527e2 100644 --- a/src/common/xpmdecod.cpp +++ b/src/common/xpmdecod.cpp @@ -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; }