X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..72045d5768a126191a907bc640c28e81a11afdd6:/include/wx/mac/carbon/dcmemory.h diff --git a/include/wx/mac/carbon/dcmemory.h b/include/wx/mac/carbon/dcmemory.h index 800dae556e..bc6f99ee3a 100644 --- a/include/wx/mac/carbon/dcmemory.h +++ b/include/wx/mac/carbon/dcmemory.h @@ -21,10 +21,13 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC public: wxMemoryDC(void); wxMemoryDC( wxDC *dc ); // Create compatible DC - ~wxMemoryDC(void); + virtual ~wxMemoryDC(void); virtual void SelectObject( const wxBitmap& bitmap ); - virtual void DoGetSize( int *width, int *height ) const; wxBitmap GetSelectedObject() { return m_selected ; } + +protected: + virtual void DoGetSize( int *width, int *height ) const; + private: wxBitmap m_selected; };