From: Vadim Zeitlin Date: Sun, 5 Apr 2009 14:58:11 +0000 (+0000) Subject: use COLORONCOLOR stretching mode in DrawBitmap() too (see #3400) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb72e9aa28d47f0ee3da6ab0881a639d1c55c499 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 --- diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 55724274f7..848d6b7258 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -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();