]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/bitmap.cpp
moved c-runtime functions for CW to wxchar
[wxWidgets.git] / src / msw / bitmap.cpp
index af64aeb6f93f1af2993911b0a595a1fe8216cae5..e6419cac7e3bf4cabbe49beec854dea486aa5ad9 100644 (file)
@@ -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<height; i++ )