// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart and Markus Holzem
+// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
::SelectObject(GetHdc(), (HBITMAP) m_oldBitmap);
if ( m_selectedBitmap.Ok() )
{
+#ifdef __WXDEBUG__
m_selectedBitmap.SetSelectedInto(NULL);
+#endif
m_selectedBitmap = wxNullBitmap;
}
}
if ( !hBmp )
return;
+#ifdef __WXDEBUG__
m_selectedBitmap.SetSelectedInto(this);
+#endif
hBmp = (WXHBITMAP)::SelectObject(GetHdc(), (HBITMAP)hBmp);
if ( !hBmp )