X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4770df95a0ace5e4e8f67e8ea85392e464fbaad2..e6adf05834e880312efa3d59914ecc1d4f5f78a6:/src/msw/dc.cpp diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 7606a64098..9691e86fe2 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -1722,9 +1722,9 @@ bool wxDC::DoBlit(wxCoord xdest, wxCoord ydest, dc_mask = ::CreateCompatibleDC(GetHdcOf(*source)); dc_buffer = ::CreateCompatibleDC(GetHdc()); buffer_bmap = ::CreateCompatibleBitmap(GetHdc(), width, height); +#endif // wxUSE_DC_CACHEING/!wxUSE_DC_CACHEING ::SelectObject(dc_mask, (HBITMAP) mask->GetMaskBitmap()); ::SelectObject(dc_buffer, buffer_bmap); -#endif // wxUSE_DC_CACHEING/!wxUSE_DC_CACHEING // copy dest to buffer if ( !::BitBlt(dc_buffer, 0, 0, (int)width, (int)height,