1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/x11/dcmemory.h
3 // Purpose: wxMemoryDC class
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_DCMEMORY_H_
12 #define _WX_DCMEMORY_H_
15 #include "wx/dcmemory.h"
16 #include "wx/x11/dcclient.h"
18 class WXDLLIMPEXP_CORE wxMemoryDCImpl
: public wxWindowDCImpl
21 wxMemoryDCImpl( wxDC
* owner
);
22 wxMemoryDCImpl( wxDC
* owner
, wxBitmap
& bitmap
);
23 wxMemoryDCImpl( wxDC
* owner
, wxDC
*dc
);
24 virtual ~wxMemoryDCImpl();
26 virtual const wxBitmap
& GetSelectedBitmap() const;
27 virtual wxBitmap
& GetSelectedBitmap();
33 virtual void DoGetSize( int *width
, int *height
) const;
34 virtual void DoSelect(const wxBitmap
& bitmap
);
40 DECLARE_CLASS(wxMemoryDCImpl
)