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