/////////////////////////////////////////////////////////////////////////////
-// Name: dcmemory.h
+// Name: wx/gtk/dcmemory.h
// Purpose:
// Author: Robert Roebling
// RCS-ID: $Id$
wxMemoryDCImpl( wxMemoryDC *owner );
wxMemoryDCImpl( wxMemoryDC *owner, wxBitmap& bitmap );
wxMemoryDCImpl( wxMemoryDC *owner, wxDC *dc );
-
+
virtual ~wxMemoryDCImpl();
// these get reimplemented for mono-bitmaps to behave
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;
// 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_