]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/dcclient.h
Simplified BC++ makefiles; C++Builder 1.0 compilation seems to work;
[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 _WX_DCCLIENT_H_
13 #define _WX_DCCLIENT_H_
14
15 #ifdef __GNUG__
16 #pragma interface "dcclient.h"
17 #endif
18
19 #include "wx/dc.h"
20
21 class WXDLLEXPORT wxWindowDC: public wxDC
22 {
23 DECLARE_DYNAMIC_CLASS(wxWindowDC)
24
25 public:
26 wxWindowDC(void);
27
28 // Create a DC corresponding to a canvas
29 wxWindowDC(wxWindow *win);
30
31 ~wxWindowDC(void);
32 };
33
34 class WXDLLEXPORT wxClientDC: public wxWindowDC
35 {
36 DECLARE_DYNAMIC_CLASS(wxClientDC)
37
38 public:
39 wxClientDC(void);
40
41 // Create a DC corresponding to a canvas
42 wxClientDC(wxWindow *win);
43
44 ~wxClientDC(void);
45 };
46
47 class WXDLLEXPORT wxPaintDC: public wxWindowDC
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 ms_PaintHDC;
61 static size_t ms_PaintCount;
62 };
63
64 #endif
65 // _WX_DCCLIENT_H_