IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC,wxWindowDC)
-wxMemoryDC::wxMemoryDC() : wxDC()
+void wxMemoryDC::Init()
{
m_isMemDC = true;
}
wxMemoryDC::wxMemoryDC(wxDC *WXUNUSED(dc)) : wxDC()
{
- m_isMemDC = true;
+ Init();
}
wxMemoryDC::~wxMemoryDC()
{
}
-void wxMemoryDC::SelectObject(const wxBitmap& bitmap)
+void wxMemoryDC::DoSelect(const wxBitmap& bitmap)
{
if ( bitmap.Ok() )
{