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
This commit is contained in:
Robin Dunn 2007-10-26 21:33:52 +00:00
parent 8df068caba
commit 1a03623cf1

View File

@ -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)