From d3c82d0d1383607ef5896253f0928a4a2d2d32a2 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 10 Nov 2006 19:14:13 +0000 Subject: [PATCH] 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 --- src/mac/carbon/colour.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/colour.cpp b/src/mac/carbon/colour.cpp index 9d1435aa82..2572be337b 100644 --- a/src/mac/carbon/colour.cpp +++ b/src/mac/carbon/colour.cpp @@ -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 ); } -void wxColour::FromRGBColor( const WXCOLORREF* color ) +void wxColour::FromRGBColor( WXCOLORREF* color ) { RGBColor* col = (RGBColor*) color; memcpy( &m_pixel, color, 6 );