From: Vadim Zeitlin Date: Wed, 18 Jun 2003 00:42:39 +0000 (+0000) Subject: removed a now unnecessary line X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9ad19a2bde7bf6a2f10ff66b36697d16ca810eaa removed a now unnecessary line git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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