X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..2be7beda2d186af20ce9f0cd2bc28352d890db77:/include/wx/mac/classic/dcmemory.h?ds=sidebyside diff --git a/include/wx/mac/classic/dcmemory.h b/include/wx/mac/classic/dcmemory.h index c8ea44e5ad..c9780e2c68 100644 --- a/include/wx/mac/classic/dcmemory.h +++ b/include/wx/mac/classic/dcmemory.h @@ -12,10 +12,6 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "dcmemory.h" -#endif - #include "wx/dcclient.h" class WXDLLEXPORT wxMemoryDC: public wxPaintDC @@ -25,7 +21,7 @@ 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 ; }