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