git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25584
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
public:
// this ctor creates a bitmap of the size of the window for buffering
wxBufferedPaintDC(wxWindow *window, int flags = wxBUFFER_DC_DEFAULT)
public:
// this ctor creates a bitmap of the size of the window for buffering
wxBufferedPaintDC(wxWindow *window, int flags = wxBUFFER_DC_DEFAULT)
- : wxBufferedDC(&m_paintdc, window->GetClientSize(), flags),
- m_paintdc(window)
+
+ Init(&m_paintdc, window->GetClientSize(), flags);
}
// the bitmap must be valid here
wxBufferedPaintDC(wxWindow *window, const wxBitmap& buffer)
}
// the bitmap must be valid here
wxBufferedPaintDC(wxWindow *window, const wxBitmap& buffer)
- : wxBufferedDC(&m_paintdc, buffer)
+
+ Init(&m_paintdc, buffer);
}
// default copy ctor ok.
}
// default copy ctor ok.