]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/dcclient.h
Theme fix for Mac
[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
32b8ec41 13#include "wx/dc.h"
a4bbc9f7 14
32b8ec41
VZ
15//-----------------------------------------------------------------------------
16// classes
17//-----------------------------------------------------------------------------
18
19class WXDLLEXPORT wxWindowDC;
20class WXDLLEXPORT wxPaintDC;
21class WXDLLEXPORT wxClientDC;
7bdc1879 22class WXDLLEXPORT wxWindowMGL;
32b8ec41
VZ
23
24//-----------------------------------------------------------------------------
25// wxWindowDC
26//-----------------------------------------------------------------------------
27
32b8ec41
VZ
28class WXDLLEXPORT wxWindowDC : public wxDC
29{
30public:
31 wxWindowDC() {}
a4bbc9f7
VS
32 virtual ~wxWindowDC();
33 wxWindowDC(wxWindow *win);
34
35protected:
36 wxWindow *m_wnd;
7bdc1879 37 bool m_inPaintHandler;
32b8ec41
VZ
38
39private:
40 DECLARE_DYNAMIC_CLASS(wxWindowDC)
41};
42
43//-----------------------------------------------------------------------------
44// wxClientDC
45//-----------------------------------------------------------------------------
46
47class WXDLLEXPORT wxClientDC : public wxWindowDC
48{
49public:
a4bbc9f7
VS
50 wxClientDC() : wxWindowDC() {}
51 wxClientDC(wxWindow *win);
32b8ec41
VZ
52
53private:
54 DECLARE_DYNAMIC_CLASS(wxClientDC)
55};
56
57//-----------------------------------------------------------------------------
58// wxPaintDC
59//-----------------------------------------------------------------------------
60
61class WXDLLEXPORT wxPaintDC : public wxClientDC
62{
63public:
7bdc1879
VS
64 wxPaintDC() : wxClientDC() {}
65 wxPaintDC(wxWindow *win) : wxClientDC(win) {}
32b8ec41
VZ
66
67private:
68 DECLARE_DYNAMIC_CLASS(wxPaintDC)
69};
70
71#endif // __WX_DCCLIENT_H__