X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..be4da8f0315e36de2322cd312c7184f55c0333f5:/include/wx/x11/dcmemory.h diff --git a/include/wx/x11/dcmemory.h b/include/wx/x11/dcmemory.h index 12d839d425..40c97fc7f0 100644 --- a/include/wx/x11/dcmemory.h +++ b/include/wx/x11/dcmemory.h @@ -17,16 +17,17 @@ class WXDLLIMPEXP_CORE wxMemoryDC : public wxWindowDC { public: - wxMemoryDC(); + wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap ); wxMemoryDC( wxDC *dc ); // Create compatible DC - ~wxMemoryDC(); + virtual ~wxMemoryDC(); virtual void SelectObject( const wxBitmap& bitmap ); - void DoGetSize( int *width, int *height ) const; // implementation wxBitmap m_selected; -private: +protected: + void DoGetSize( int *width, int *height ) const; + DECLARE_DYNAMIC_CLASS(wxMemoryDC) };