removed a now unnecessary line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c8688869d9
commit
9ad19a2bde
@ -925,8 +925,6 @@ wxImage wxBitmap::ConvertToImage() const
|
|||||||
::SetBkColor( memdc, RGB( 255, 255, 255 ) );
|
::SetBkColor( memdc, RGB( 255, 255, 255 ) );
|
||||||
::GetDIBits( memdc, hbitmap, 0, height, lpBits, lpDIBh, DIB_RGB_COLORS );
|
::GetDIBits( memdc, hbitmap, 0, height, lpBits, lpDIBh, DIB_RGB_COLORS );
|
||||||
::DeleteDC( memdc );
|
::DeleteDC( memdc );
|
||||||
// background color set to mask colour
|
|
||||||
unsigned char r=MASK_RED, g=MASK_GREEN, b=MASK_BLUE;
|
|
||||||
ptdata = data;
|
ptdata = data;
|
||||||
ptbits = lpBits;
|
ptbits = lpBits;
|
||||||
for( i=0; i<height; i++ )
|
for( i=0; i<height; i++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user