]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/mgl/dcclient.h
don't log mouse events by default
[wxWidgets.git] / include / wx / mgl / dcclient.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcclient.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
6// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
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"
18
19//-----------------------------------------------------------------------------
20// classes
21//-----------------------------------------------------------------------------
22
23class WXDLLEXPORT wxWindowDC;
24class WXDLLEXPORT wxPaintDC;
25class WXDLLEXPORT wxClientDC;
26class WXDLLEXPORT wxWindowMGL;
27
28//-----------------------------------------------------------------------------
29// wxWindowDC
30//-----------------------------------------------------------------------------
31
32class WXDLLEXPORT wxWindowDC : public wxDC
33{
34public:
35 wxWindowDC() {}
36 virtual ~wxWindowDC();
37 wxWindowDC(wxWindow *win);
38
39protected:
40 wxWindow *m_wnd;
41 bool m_inPaintHandler;
42
43private:
44 DECLARE_DYNAMIC_CLASS(wxWindowDC)
45};
46
47//-----------------------------------------------------------------------------
48// wxClientDC
49//-----------------------------------------------------------------------------
50
51class WXDLLEXPORT wxClientDC : public wxWindowDC
52{
53public:
54 wxClientDC() : wxWindowDC() {}
55 wxClientDC(wxWindow *win);
56
57private:
58 DECLARE_DYNAMIC_CLASS(wxClientDC)
59};
60
61//-----------------------------------------------------------------------------
62// wxPaintDC
63//-----------------------------------------------------------------------------
64
65class WXDLLEXPORT wxPaintDC : public wxClientDC
66{
67public:
68 wxPaintDC() : wxClientDC() {}
69 wxPaintDC(wxWindow *win) : wxClientDC(win) {}
70
71private:
72 DECLARE_DYNAMIC_CLASS(wxPaintDC)
73};
74
75#endif // __WX_DCCLIENT_H__