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_
15 #include "wx/bitmap.h"
17 class WXDLLIMPEXP_CORE wxMemoryDC
: public wxDC
21 wxMemoryDC(wxDC
*dc
); // create compatible DC
23 virtual void SelectObject(const wxBitmap
& bitmap
);
25 // implementation from now on:
27 wxBitmap
GetSelectedObject() const { return m_bmp
; }
32 DECLARE_DYNAMIC_CLASS(wxMemoryDC
)
35 #endif // _WX_DFB_DCMEMORY_H_