git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11346
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
for (int x = 0; x < width; x++)
{
- if ( data[0] == image.GetMaskRed() && data[1] == image.GetMaskRed() && data[2] == image.GetMaskRed() )
+ if ( data[0] == image.GetMaskRed() && data[1] == image.GetMaskGreen() && data[2] == image.GetMaskBlue() )
{
SetCPixel(x,y, &white);
}
{
for (int x = 0; x < width; x++)
{
- if ( data[0] == image.GetMaskRed() && data[1] == image.GetMaskRed() && data[2] == image.GetMaskRed() )
+ if ( data[0] == image.GetMaskRed() && data[1] == image.GetMaskGreen() && data[2] == image.GetMaskBlue() )
{
SetCPixel(x,y, &white);
}