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:
Vadim Zeitlin
2010-03-28 22:34:08 +00:00
parent f3211393f6
commit 6547f163f4

View File

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