]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/dcclient.h
fixed config incosistency
[wxWidgets.git] / include / wx / msw / dcclient.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dcclient.h
3 // Purpose: wxClientDC class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart and Markus Holzem
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __DCCLIENTH__
13 #define __DCCLIENTH__
14
15 #ifdef __GNUG__
16 #pragma interface "dcclient.h"
17 #endif
18
19 #include "wx/dc.h"
20
21 class WXDLLEXPORT wxClientDC: public wxDC
22 {
23 DECLARE_DYNAMIC_CLASS(wxClientDC)
24
25 public:
26 wxClientDC(void);
27
28 // Create a DC corresponding to a canvas
29 wxClientDC(wxWindow *win);
30
31 ~wxClientDC(void);
32 };
33
34 class WXDLLEXPORT wxWindowDC: public wxDC
35 {
36 DECLARE_DYNAMIC_CLASS(wxWindowDC)
37
38 public:
39 wxWindowDC(void);
40
41 // Create a DC corresponding to a canvas
42 wxWindowDC(wxWindow *win);
43
44 ~wxWindowDC(void);
45 };
46
47 class WXDLLEXPORT wxPaintDC: public wxDC
48 {
49 DECLARE_DYNAMIC_CLASS(wxPaintDC)
50
51 public:
52 wxPaintDC(void);
53
54 // Create a DC corresponding to a canvas
55 wxPaintDC(wxWindow *win);
56
57 ~wxPaintDC(void);
58
59 protected:
60 static WXHDC m_staticPaintHDC ;
61 static int m_staticPaintCount ;
62 };
63
64 #endif
65 // __DCCLIENTH__