From 056ccb81e08d874238bdf4d9fc85293fe1d4e1c8 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 3 Apr 2008 11:41:32 +0000 Subject: [PATCH] GetPixel isn't returning RGBColor anymore, so change call git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/cursor.cpp b/src/mac/carbon/cursor.cpp index c48663d7fd..9ed8d0234a 100644 --- a/src/mac/carbon/cursor.cpp +++ b/src/mac/carbon/cursor.cpp @@ -457,7 +457,7 @@ void wxCursor::CreateFromImage(const wxImage & image) maskbits |= ( 1 << (15 - x) ) ; - col = *((RGBColor*) wxColor( r , g , b ).GetPixel()) ; + wxColor( r , g , b ).GetRGBColor( &col ); } *((*(**ch).crsrData) + y * bytesPerRow + x) =