From 2884838a3c63fc196077ae0353cab3b5c8c5e6d7 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Mon, 13 Feb 2006 15:30:28 +0000
Subject: [PATCH] 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
---
 src/common/xpmdecod.cpp | 3 +++
 1 file changed, 3 insertions(+)

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;
         }
-- 
2.47.2