- ~wxMemoryDC(void);
- virtual void SelectObject( const wxBitmap& bitmap );
- void GetSize( int *width, int *height ) const;
+ virtual ~wxMemoryDC();
+
+ void DoGetSize( int *width, int *height ) const;
+
+ wxBitmap& GetBitmap() const { return (wxBitmap&) m_bitmap; }
+
+protected:
+ virtual void DoSelect(const wxBitmap& bitmap);
+
+private:
+ friend class wxPaintDC;
+
+ void Init();