X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0055a7a437c6858a4d8aec082cc14910dcdef869..8b51786f6e56a7d8517107c8b497f0ddb07696ad:/src/common/effects.cpp diff --git a/src/common/effects.cpp b/src/common/effects.cpp index e72542ecf4..4439ff42ba 100644 --- a/src/common/effects.cpp +++ b/src/common/effects.cpp @@ -102,7 +102,7 @@ bool wxEffects::TileBitmap(const wxRect& rect, wxDC& dc, const wxBitmap& bitmap) } #endif // wxUSE_PALETTE - dcMem.SelectObject(bitmap); + dcMem.SelectObjectAsSource(bitmap); int i, j; for (i = rect.x; i < rect.x + rect.width; i += w)