]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/effects.cpp
some (blind) compilation fixes after wxString/Unicode changes
[wxWidgets.git] / src / common / effects.cpp
index e72542ecf4d22012ab62be91240fb3f31d175797..4439ff42bae167624d271913988d00289fa10ca1 100644 (file)
@@ -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)