]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dfb/dcmemory.h
removed not implemented anyhow SetIcons()
[wxWidgets.git] / include / wx / dfb / dcmemory.h
CommitLineData
b3c86150
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/dfb/dcmemory.h
3// Purpose: wxMemoryDC class declaration
4// Created: 2006-08-10
5// Author: Vaclav Slavik
6// RCS-ID: $Id$
7// Copyright: (c) 2006 REA Elektronik GmbH
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_DFB_DCMEMORY_H_
12#define _WX_DFB_DCMEMORY_H_
13
14#include "wx/dc.h"
15#include "wx/bitmap.h"
16
fea35690 17class WXDLLIMPEXP_CORE wxMemoryDC : public wxDC, public wxMemoryDCBase
b3c86150
VS
18{
19public:
fea35690
VZ
20 wxMemoryDC() { Init(); }
21 wxMemoryDC(wxBitmap& bitmap) { Init(); SelectObject(bitmap); }
b3c86150
VS
22 wxMemoryDC(wxDC *dc); // create compatible DC
23
5942996c
VS
24 // implementation from now on:
25
26 wxBitmap GetSelectedObject() const { return m_bmp; }
27
fea35690
VZ
28protected:
29 virtual void DoSelect(const wxBitmap& bitmap);
30
5942996c 31private:
fea35690
VZ
32 void Init();
33
5942996c
VS
34 wxBitmap m_bmp;
35
b3c86150
VS
36 DECLARE_DYNAMIC_CLASS(wxMemoryDC)
37};
38
39#endif // _WX_DFB_DCMEMORY_H_
40