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:
parent
27de83cd5b
commit
056ccb81e0
@ -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) =
|
||||
|
Loading…
Reference in New Issue
Block a user