Use COLORONCOLOR stretching mode in DrawBitmap() too [backport of r60034 from trunk].
Closes #3400. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1198,6 +1198,10 @@ void wxDC::DoDrawBitmap( const wxBitmap &bmp, wxCoord x, wxCoord y, bool useMask
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __WXWINCE__
|
||||||
|
StretchBltModeChanger changeMode(GetHdc(), COLORONCOLOR);
|
||||||
|
#endif
|
||||||
|
|
||||||
if ( useMask )
|
if ( useMask )
|
||||||
{
|
{
|
||||||
wxMask *mask = bmp.GetMask();
|
wxMask *mask = bmp.GetMask();
|
||||||
|
Reference in New Issue
Block a user