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