virtual ~wxMemoryDCImpl();
-protected:
virtual void DoGetSize( int *width, int *height ) const;
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const
{ return subrect == NULL ? GetSelectedBitmap() : GetSelectedBitmap().GetSubBitmap(*subrect); }
virtual void DoSelect(const wxBitmap& bitmap);
+ virtual const wxBitmap& GetSelectedBitmap() const
+ { return m_selected; }
+ virtual wxBitmap& GetSelectedBitmap()
+ { return m_selected; }
+
private:
void Init();
wxBitmap m_selected;
-private:
DECLARE_CLASS(wxMemoryDCImpl)
DECLARE_NO_COPY_CLASS(wxMemoryDCImpl)
};