]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dcclient.h
Refactor wxDocParentFrame and wxDocMDIParentFrame to share common base class.
[wxWidgets.git] / include / wx / dcclient.h
CommitLineData
99d80019
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/dcclient.h
3// Purpose: wxClientDC base header
4// Author: Julian Smart
99d80019
JS
5// Copyright: (c) Julian Smart
6// RCS-ID: $Id$
7// Licence: wxWindows Licence
8/////////////////////////////////////////////////////////////////////////////
9
34138703
JS
10#ifndef _WX_DCCLIENT_H_BASE_
11#define _WX_DCCLIENT_H_BASE_
c801d85f 12
888dde65
RR
13#include "wx/dc.h"
14
15//-----------------------------------------------------------------------------
16// wxWindowDC
17//-----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
20{
21public:
f0875501
VZ
22 wxWindowDC(wxWindow *win);
23
24protected:
25 wxWindowDC(wxDCImpl *impl) : wxDC(impl) { }
888dde65
RR
26
27private:
f0875501 28 DECLARE_ABSTRACT_CLASS(wxWindowDC)
888dde65
RR
29};
30
31//-----------------------------------------------------------------------------
32// wxClientDC
33//-----------------------------------------------------------------------------
34
35class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
36{
37public:
f0875501
VZ
38 wxClientDC(wxWindow *win);
39
40protected:
41 wxClientDC(wxDCImpl *impl) : wxWindowDC(impl) { }
888dde65
RR
42
43private:
f0875501 44 DECLARE_ABSTRACT_CLASS(wxClientDC)
888dde65
RR
45};
46
47//-----------------------------------------------------------------------------
48// wxPaintDC
49//-----------------------------------------------------------------------------
50
51class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
52{
53public:
f0875501
VZ
54 wxPaintDC(wxWindow *win);
55
56protected:
57 wxPaintDC(wxDCImpl *impl) : wxClientDC(impl) { }
888dde65
RR
58
59private:
f0875501 60 DECLARE_ABSTRACT_CLASS(wxPaintDC)
888dde65 61};
c801d85f 62
f0875501 63#endif // _WX_DCCLIENT_H_BASE_