use COLORONCOLOR stretching mode in DrawBitmap() too (see #3400)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1294,6 +1294,10 @@ void wxMSWDCImpl::DoDrawBitmap( const wxBitmap &bmp, wxCoord x, wxCoord y, bool
|
|||||||
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