X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..4f32b3cf15277e10835d359acb8b3e87ee041699:/include/wx/mac/classic/dcmemory.h diff --git a/include/wx/mac/classic/dcmemory.h b/include/wx/mac/classic/dcmemory.h index c8ea44e5ad..4a2c8f191e 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 @@ -23,9 +19,9 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC DECLARE_DYNAMIC_CLASS(wxMemoryDC) public: - wxMemoryDC(void); + wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap ); 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 ; }