// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/dcmemory.h"
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/os2/private.h"
-#include "wx/dcmemory.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC, wxDC)
/////////////////////////////////////////////////////////////////////////////
// Memory DC
/////////////////////////////////////////////////////////////////////////////
-wxMemoryDC::wxMemoryDC(void)
-{
- CreateCompatible(NULL);
- Init();
-} // end of wxMemoryDC::wxMemoryDC
-
wxMemoryDC::wxMemoryDC(
wxDC* pOldDC
)
return m_ok;
} // end of wxMemoryDC::CreateCompatible
-void wxMemoryDC::SelectObject(
+void wxMemoryDC::DoSelect(
const wxBitmap& rBitmap
)
{
);
m_vSelectedBitmap.SetSelectedInto(NULL);
}
+
m_vSelectedBitmap = rBitmap;