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
This commit is contained in:
Stefan Csomor 2008-04-03 11:41:32 +00:00
parent 27de83cd5b
commit 056ccb81e0

View File

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