]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/dcclient.h
Additional configuration check.
[wxWidgets.git] / include / wx / mgl / dcclient.h
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcclient.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
52750c2e 6// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
65571936 7// Licence: wxWindows licence
32b8ec41
VZ
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __WX_DCCLIENT_H__
11#define __WX_DCCLIENT_H__
12
12028905 13#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
32b8ec41
VZ
14#pragma interface "dcclient.h"
15#endif
16
17#include "wx/dc.h"
a4bbc9f7 18
32b8ec41
VZ
19//-----------------------------------------------------------------------------
20// classes
21//-----------------------------------------------------------------------------
22
23class WXDLLEXPORT wxWindowDC;
24class WXDLLEXPORT wxPaintDC;
25class WXDLLEXPORT wxClientDC;
7bdc1879 26class WXDLLEXPORT wxWindowMGL;
32b8ec41
VZ
27
28//-----------------------------------------------------------------------------
29// wxWindowDC
30//-----------------------------------------------------------------------------
31
32b8ec41
VZ
32class WXDLLEXPORT wxWindowDC : public wxDC
33{
34public:
35 wxWindowDC() {}
a4bbc9f7
VS
36 virtual ~wxWindowDC();
37 wxWindowDC(wxWindow *win);
38
39protected:
40 wxWindow *m_wnd;
7bdc1879 41 bool m_inPaintHandler;
32b8ec41
VZ
42
43private:
44 DECLARE_DYNAMIC_CLASS(wxWindowDC)
45};
46
47//-----------------------------------------------------------------------------
48// wxClientDC
49//-----------------------------------------------------------------------------
50
51class WXDLLEXPORT wxClientDC : public wxWindowDC
52{
53public:
a4bbc9f7
VS
54 wxClientDC() : wxWindowDC() {}
55 wxClientDC(wxWindow *win);
32b8ec41
VZ
56
57private:
58 DECLARE_DYNAMIC_CLASS(wxClientDC)
59};
60
61//-----------------------------------------------------------------------------
62// wxPaintDC
63//-----------------------------------------------------------------------------
64
65class WXDLLEXPORT wxPaintDC : public wxClientDC
66{
67public:
7bdc1879
VS
68 wxPaintDC() : wxClientDC() {}
69 wxPaintDC(wxWindow *win) : wxClientDC(win) {}
32b8ec41
VZ
70
71private:
72 DECLARE_DYNAMIC_CLASS(wxPaintDC)
73};
74
75#endif // __WX_DCCLIENT_H__