Compile fix to match change made in header

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-11-10 19:14:13 +00:00
parent f71d596e6b
commit d3c82d0d13

View File

@ -55,7 +55,7 @@ void wxColour::InitRGBA (unsigned char r, unsigned char g, unsigned char b, unsi
wxComposeRGBColor( &m_pixel , m_red , m_blue , m_green ); wxComposeRGBColor( &m_pixel , m_red , m_blue , m_green );
} }
void wxColour::FromRGBColor( const WXCOLORREF* color ) void wxColour::FromRGBColor( WXCOLORREF* color )
{ {
RGBColor* col = (RGBColor*) color; RGBColor* col = (RGBColor*) color;
memcpy( &m_pixel, color, 6 ); memcpy( &m_pixel, color, 6 );