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:
Vadim Zeitlin
2009-04-05 14:58:11 +00:00
parent a2bbedf07d
commit eb72e9aa28

View File

@@ -1294,6 +1294,10 @@ void wxMSWDCImpl::DoDrawBitmap( const wxBitmap &bmp, wxCoord x, wxCoord y, bool
return;
}
#ifndef __WXWINCE__
StretchBltModeChanger changeMode(GetHdc(), COLORONCOLOR);
#endif
if ( useMask )
{
wxMask *mask = bmp.GetMask();