]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dfb/dcmemory.h
Make wxRichTextCtrl again buildable on WinCE.
[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
17class WXDLLIMPEXP_CORE wxMemoryDC : public wxDC
18{
19public:
432efcb0 20 wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
b3c86150
VS
21 wxMemoryDC(wxDC *dc); // create compatible DC
22
23 virtual void SelectObject(const wxBitmap& bitmap);
24
5942996c
VS
25 // implementation from now on:
26
27 wxBitmap GetSelectedObject() const { return m_bmp; }
28
29private:
30 wxBitmap m_bmp;
31
b3c86150
VS
32 DECLARE_DYNAMIC_CLASS(wxMemoryDC)
33};
34
35#endif // _WX_DFB_DCMEMORY_H_
36