X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..81bfc17cc63bde7034da16df0c9cb246a8738337:/include/wx/mgl/dcmemory.h diff --git a/include/wx/mgl/dcmemory.h b/include/wx/mgl/dcmemory.h index 96ad1a3c1c..8bda585ff4 100644 --- a/include/wx/mgl/dcmemory.h +++ b/include/wx/mgl/dcmemory.h @@ -7,14 +7,9 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __WX_DCMEMORY_H__ #define __WX_DCMEMORY_H__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "dcmemory.h" -#endif - #include "wx/defs.h" #include "wx/dcclient.h" @@ -31,9 +26,9 @@ class WXDLLEXPORT wxMemoryDC; class WXDLLEXPORT wxMemoryDC : public wxDC { public: - wxMemoryDC(); + wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap ); wxMemoryDC(wxDC *dc); // Create compatible DC - ~wxMemoryDC(); + virtual ~wxMemoryDC(); virtual void SelectObject(const wxBitmap& bitmap); // these get reimplemented for mono-bitmaps to behave