X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8688869d94558c1741501a31648507cfe2f722d..cda66071f17f062779a7009065e5ff7dd958440b:/src/msw/bitmap.cpp diff --git a/src/msw/bitmap.cpp b/src/msw/bitmap.cpp index af64aeb6f9..e6419cac7e 100644 --- a/src/msw/bitmap.cpp +++ b/src/msw/bitmap.cpp @@ -925,8 +925,6 @@ wxImage wxBitmap::ConvertToImage() const ::SetBkColor( memdc, RGB( 255, 255, 255 ) ); ::GetDIBits( memdc, hbitmap, 0, height, lpBits, lpDIBh, DIB_RGB_COLORS ); ::DeleteDC( memdc ); - // background color set to mask colour - unsigned char r=MASK_RED, g=MASK_GREEN, b=MASK_BLUE; ptdata = data; ptbits = lpBits; for( i=0; i