1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/dfb/dcmemory.h
3 // Purpose: wxMemoryDC class declaration
5 // Author: Vaclav Slavik
7 // Copyright: (c) 2006 REA Elektronik GmbH
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_DFB_DCMEMORY_H_
12 #define _WX_DFB_DCMEMORY_H_
14 #include "wx/dfb/dc.h"
15 #include "wx/bitmap.h"
17 class WXDLLIMPEXP_CORE wxMemoryDCImpl
: public wxDFBDCImpl
20 wxMemoryDCImpl(wxMemoryDC
*owner
);
21 wxMemoryDCImpl(wxMemoryDC
*owner
, wxBitmap
& bitmap
);
22 wxMemoryDCImpl(wxMemoryDC
*owner
, wxDC
*dc
); // create compatible DC
24 // override wxMemoryDC-specific base class virtual methods
25 virtual const wxBitmap
& GetSelectedBitmap() const { return m_bmp
; }
26 virtual wxBitmap
& GetSelectedBitmap() { return m_bmp
; }
27 virtual void DoSelect(const wxBitmap
& bitmap
);
34 DECLARE_DYNAMIC_CLASS(wxMemoryDCImpl
)
37 #endif // _WX_DFB_DCMEMORY_H_