From 1a03623cf13acf2d73d8dde7980a86b6fef48941 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 26 Oct 2007 21:33:52 +0000 Subject: [PATCH] Patch [ 1820537 ] Fix for uninitialized alpha value in wxColour::FromRGBColor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/colour.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mac/carbon/colour.cpp b/src/mac/carbon/colour.cpp index d752b70530..4af845a7e4 100644 --- a/src/mac/carbon/colour.cpp +++ b/src/mac/carbon/colour.cpp @@ -66,6 +66,7 @@ void wxColour::FromRGBColor( WXCOLORREF* color ) m_red = col->red >> 8; m_blue = col->blue >> 8; m_green = col->green >> 8; + m_alpha = 255; } wxColour& wxColour::operator=(const RGBColor& col)