]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/dcclient.h
made some wxHtmlEntitiesParser's methods public -- turned out they are useful
[wxWidgets.git] / include / wx / mgl / dcclient.h
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcclient.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
8f7b34a8 6// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
32b8ec41
VZ
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __WX_DCCLIENT_H__
11#define __WX_DCCLIENT_H__
12
13#ifdef __GNUG__
14#pragma interface "dcclient.h"
15#endif
16
17#include "wx/dc.h"
a4bbc9f7
VS
18
19class WXDLLEXPORT wxWindowMGL;
32b8ec41
VZ
20
21//-----------------------------------------------------------------------------
22// classes
23//-----------------------------------------------------------------------------
24
25class WXDLLEXPORT wxWindowDC;
26class WXDLLEXPORT wxPaintDC;
27class WXDLLEXPORT wxClientDC;
28
29//-----------------------------------------------------------------------------
30// wxWindowDC
31//-----------------------------------------------------------------------------
32
32b8ec41
VZ
33class WXDLLEXPORT wxWindowDC : public wxDC
34{
35public:
36 wxWindowDC() {}
a4bbc9f7
VS
37 virtual ~wxWindowDC();
38 wxWindowDC(wxWindow *win);
39
40protected:
41 wxWindow *m_wnd;
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:
a4bbc9f7 58 wxWindowMGL *m_wnd;
32b8ec41
VZ
59 DECLARE_DYNAMIC_CLASS(wxClientDC)
60};
61
62//-----------------------------------------------------------------------------
63// wxPaintDC
64//-----------------------------------------------------------------------------
65
a4bbc9f7 66// FIXME_MGL
32b8ec41
VZ
67class WXDLLEXPORT wxPaintDC : public wxClientDC
68{
69public:
70 wxPaintDC() { }
71 wxPaintDC( wxWindow *win ) {}
72
73private:
74 DECLARE_DYNAMIC_CLASS(wxPaintDC)
75};
76
77#endif // __WX_DCCLIENT_H__