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