]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
proper indentation
[wxWidgets.git] / src / msw / dcprint.cpp
index 32dad051fee9f63d5b5bafea474973b3e4c17da9..2450426227b35d3390cfbf08097eeadcf56085fc 100644 (file)
@@ -399,7 +399,8 @@ void wxPrinterDC::DoDrawBitmap(const wxBitmap& bmp,
     {
         // no support for StretchDIBits() or an error occurred if we got here
         wxMemoryDC memDC;
-        memDC.SelectObject(bmp);
+
+        memDC.SelectObjectAsSource(bmp);
 
         Blit(x, y, width, height, &memDC, 0, 0, wxCOPY, useMask);