X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..3d777efedc1e05bd6c2a7c34a00a65895b62bb13:/include/wx/gtk/dcmemory.h diff --git a/include/wx/gtk/dcmemory.h b/include/wx/gtk/dcmemory.h index eefcadab27..8afb45c52e 100644 --- a/include/wx/gtk/dcmemory.h +++ b/include/wx/gtk/dcmemory.h @@ -1,8 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcmemory.h +// Name: wx/gtk/dcmemory.h // Purpose: // Author: Robert Roebling -// RCS-ID: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -23,7 +22,7 @@ public: wxMemoryDCImpl( wxMemoryDC *owner ); wxMemoryDCImpl( wxMemoryDC *owner, wxBitmap& bitmap ); wxMemoryDCImpl( wxMemoryDC *owner, wxDC *dc ); - + virtual ~wxMemoryDCImpl(); // these get reimplemented for mono-bitmaps to behave @@ -36,27 +35,25 @@ public: virtual void SetTextForeground( const wxColour &col ); virtual void SetTextBackground( const wxColour &col ); -protected: // overridden from wxDCImpl virtual void DoGetSize( int *width, int *height ) const; virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const; - + virtual void* GetHandle() const; + // overridden for wxMemoryDC Impl virtual void DoSelect(const wxBitmap& bitmap); -public: virtual const wxBitmap& GetSelectedBitmap() const; virtual wxBitmap& GetSelectedBitmap(); private: wxBitmap m_selected; - -private: + void Init(); DECLARE_ABSTRACT_CLASS(wxMemoryDCImpl) }; -#endif +#endif // _WX_GTK_DCMEMORY_H_