]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ownerdrw.cpp
no changes, just de TABified
[wxWidgets.git] / src / msw / ownerdrw.cpp
index e7fd6460cc3d8e9d0b5670833a974c9b6e6597ec..ffda6982b54a2d1c1969daea225b976828ff3188 100644 (file)
@@ -429,7 +429,7 @@ bool wxOwnerDrawn::OnDrawItem(wxDC& dc,
         if ( bmp.Ok() )
         {
             wxMemoryDC dcMem(&dc);
-            dcMem.SelectObject(bmp);
+            dcMem.SelectObjectAsSource(bmp);
 
             // center bitmap
             int nBmpWidth = bmp.GetWidth(),