1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMemoryDC class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCMEMORY_H_
13 #define _WX_DCMEMORY_H_
16 #include "wx/dcmemory.h"
17 #include "wx/x11/dcclient.h"
19 class WXDLLIMPEXP_CORE wxMemoryDCImpl
: public wxWindowDCImpl
22 wxMemoryDCImpl( wxDC
* owner
);
23 wxMemoryDCImpl( wxDC
* owner
, wxBitmap
& bitmap
);
24 wxMemoryDCImpl( wxDC
* owner
, wxDC
*dc
);
25 virtual ~wxMemoryDCImpl();
27 virtual const wxBitmap
& GetSelectedBitmap() const;
28 virtual wxBitmap
& GetSelectedBitmap();
34 virtual void DoGetSize( int *width
, int *height
) const;
35 virtual void DoSelect(const wxBitmap
& bitmap
);
41 DECLARE_CLASS(wxMemoryDCImpl
)