IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC, wxDC)
-wxMemoryDC::wxMemoryDC()
+void wxMemoryDC::Init()
{
}
{
}
-void wxMemoryDC::SelectObject(const wxBitmap& bitmap)
+void wxMemoryDC::DoSelect(const wxBitmap& bitmap)
{
+ m_bmp = bitmap;
+
if ( !bitmap.Ok() )
{
// select the bitmap out of the DC
}
// init the DC for drawing to this bitmap
- Init(bitmap.GetDirectFBSurface());
+ DFBInit(bitmap.GetDirectFBSurface());
}