IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC, wxWindowDC)
-wxMemoryDC::wxMemoryDC( const wxBitmap& bitmap )
+void wxMemoryDC::Init()
{
m_ok = true;
m_display = wxGetDisplay();
SetBrush (* wxWHITE_BRUSH);
SetPen (* wxBLACK_PEN);
SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
-
- if ( bitmap.IsOk() )
- SelectObject(bitmap);
}
wxMemoryDC::wxMemoryDC( wxDC* dc )
{
}
-void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
+void wxMemoryDC::DoSelect( const wxBitmap& bitmap )
{
m_bitmap = bitmap;