]>
Commit | Line | Data |
---|---|---|
99d80019 JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/dcclient.h | |
3 | // Purpose: wxClientDC base header | |
4 | // Author: Julian Smart | |
99d80019 JS |
5 | // Copyright: (c) Julian Smart |
6 | // RCS-ID: $Id$ | |
7 | // Licence: wxWindows Licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
34138703 JS |
10 | #ifndef _WX_DCCLIENT_H_BASE_ |
11 | #define _WX_DCCLIENT_H_BASE_ | |
c801d85f | 12 | |
888dde65 RR |
13 | #include "wx/dc.h" |
14 | ||
15 | //----------------------------------------------------------------------------- | |
16 | // wxWindowDC | |
17 | //----------------------------------------------------------------------------- | |
18 | ||
19 | class WXDLLIMPEXP_CORE wxWindowDC : public wxDC | |
20 | { | |
21 | public: | |
f0875501 VZ |
22 | wxWindowDC(wxWindow *win); |
23 | ||
24 | protected: | |
25 | wxWindowDC(wxDCImpl *impl) : wxDC(impl) { } | |
888dde65 RR |
26 | |
27 | private: | |
f0875501 | 28 | DECLARE_ABSTRACT_CLASS(wxWindowDC) |
888dde65 RR |
29 | }; |
30 | ||
31 | //----------------------------------------------------------------------------- | |
32 | // wxClientDC | |
33 | //----------------------------------------------------------------------------- | |
34 | ||
35 | class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC | |
36 | { | |
37 | public: | |
f0875501 VZ |
38 | wxClientDC(wxWindow *win); |
39 | ||
40 | protected: | |
41 | wxClientDC(wxDCImpl *impl) : wxWindowDC(impl) { } | |
888dde65 RR |
42 | |
43 | private: | |
f0875501 | 44 | DECLARE_ABSTRACT_CLASS(wxClientDC) |
888dde65 RR |
45 | }; |
46 | ||
47 | //----------------------------------------------------------------------------- | |
48 | // wxPaintDC | |
49 | //----------------------------------------------------------------------------- | |
50 | ||
51 | class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC | |
52 | { | |
53 | public: | |
f0875501 VZ |
54 | wxPaintDC(wxWindow *win); |
55 | ||
56 | protected: | |
57 | wxPaintDC(wxDCImpl *impl) : wxClientDC(impl) { } | |
888dde65 RR |
58 | |
59 | private: | |
f0875501 | 60 | DECLARE_ABSTRACT_CLASS(wxPaintDC) |
888dde65 | 61 | }; |
c801d85f | 62 | |
f0875501 | 63 | #endif // _WX_DCCLIENT_H_BASE_ |