X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..1759ff9e918d43734793c67328af21203924931f:/src/msw/dcmemory.cpp diff --git a/src/msw/dcmemory.cpp b/src/msw/dcmemory.cpp index dd76ffcd3a..573cfa02e0 100644 --- a/src/msw/dcmemory.cpp +++ b/src/msw/dcmemory.cpp @@ -90,17 +90,17 @@ void wxMemoryDC::SelectObject(const wxBitmap& bitmap) // JACS 11/12/98: disabling this since the Forty Thieves sample // shows this not working properly. In fact, if loading from a resource, // the depth should become the screen depth, so why was it being called? - if (0) - { - // Make a new bitmap that has the correct depth. - wxBitmap newBitmap = bitmap.GetBitmapForDC(* this); - - m_selectedBitmap = newBitmap ; - } - else - { +// if (0) +// { +// // Make a new bitmap that has the correct depth. +// wxBitmap newBitmap = bitmap.GetBitmapForDC(* this); +// +// m_selectedBitmap = newBitmap ; +// } +// else +// { m_selectedBitmap = bitmap; - } +// } if (!m_selectedBitmap.Ok()) return;