class WXDLLIMPEXP_CORE wxMemoryDC : public wxDC
{
public:
- wxMemoryDC();
+ wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
wxMemoryDC(wxDC *dc); // create compatible DC
virtual void SelectObject(const wxBitmap& bitmap);
+ // implementation from now on:
+
+ wxBitmap GetSelectedObject() const { return m_bmp; }
+
+private:
+ wxBitmap m_bmp;
+
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
};