More image processing updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,9 +146,14 @@ void wxMemoryDC::SelectObject(
|
||||
(rBitmap.GetSelectedInto() == this),
|
||||
wxT("Bitmap is selected in another wxMemoryDC, delete the first wxMemoryDC or use SelectObject(NULL)") );
|
||||
|
||||
WXHBITMAP hBmp = rBitmap.GetHBITMAP();
|
||||
|
||||
if (!hBmp)
|
||||
{
|
||||
m_vSelectedBitmap.SetSelectedInto(NULL);
|
||||
}
|
||||
m_vSelectedBitmap = rBitmap;
|
||||
|
||||
WXHBITMAP hBmp = rBitmap.GetHBITMAP();
|
||||
|
||||
if (!hBmp)
|
||||
{
|
||||
|
Reference in New Issue
Block a user