X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..bd9f3519cf4d3adec765a932a726e2f1d34e0df9:/include/wx/motif/dcmemory.h?ds=sidebyside diff --git a/include/wx/motif/dcmemory.h b/include/wx/motif/dcmemory.h index ee0cf492ae..121dda6604 100644 --- a/include/wx/motif/dcmemory.h +++ b/include/wx/motif/dcmemory.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcmemory.h +// Name: wx/motif/dcmemory.h // Purpose: wxMemoryDC class // Author: Julian Smart // Modified by: @@ -17,21 +17,21 @@ class WXDLLIMPEXP_CORE wxMemoryDC : public wxWindowDC { DECLARE_DYNAMIC_CLASS(wxMemoryDC) - + public: wxMemoryDC(); wxMemoryDC( wxDC *dc ); // Create compatible DC - ~wxMemoryDC(); - + virtual ~wxMemoryDC(); + virtual void SelectObject( const wxBitmap& bitmap ); - + void DoGetSize( int *width, int *height ) const; - + wxBitmap& GetBitmap() const { return (wxBitmap&) m_bitmap; } - + private: friend class wxPaintDC; - + wxBitmap m_bitmap; };