]> git.saurik.com Git - wxWidgets.git/blame - include/wx/x11/dcmemory.h
Export recently added wxRichTextXMLHelper to fix link errors.
[wxWidgets.git] / include / wx / x11 / dcmemory.h
CommitLineData
83df96d6 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/x11/dcmemory.h
83df96d6
JS
3// Purpose: wxMemoryDC class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
83df96d6 7// Copyright: (c) Julian Smart
65571936 8// Licence: wxWindows licence
83df96d6
JS
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_DCMEMORY_H_
12#define _WX_DCMEMORY_H_
13
2b77c3fc
RR
14#include "wx/dc.h"
15#include "wx/dcmemory.h"
16#include "wx/x11/dcclient.h"
83df96d6 17
2b77c3fc 18class WXDLLIMPEXP_CORE wxMemoryDCImpl : public wxWindowDCImpl
83df96d6 19{
83df96d6 20public:
2b77c3fc
RR
21 wxMemoryDCImpl( wxDC* owner );
22 wxMemoryDCImpl( wxDC* owner, wxBitmap& bitmap);
23 wxMemoryDCImpl( wxDC* owner, wxDC *dc );
24 virtual ~wxMemoryDCImpl();
25
26 virtual const wxBitmap& GetSelectedBitmap() const;
27 virtual wxBitmap& GetSelectedBitmap();
03647350 28
3cd0b8c5
RR
29 // implementation
30 wxBitmap m_selected;
31
6f02a879 32protected:
fea35690
VZ
33 virtual void DoGetSize( int *width, int *height ) const;
34 virtual void DoSelect(const wxBitmap& bitmap);
35
36private:
37 void Init();
6f02a879 38
2b77c3fc
RR
39private:
40 DECLARE_CLASS(wxMemoryDCImpl)
83df96d6
JS
41};
42
43#endif
44// _WX_DCMEMORY_H_