1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mgl/dcclient.h
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __WX_DCCLIENT_H__
11 #define __WX_DCCLIENT_H__
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
19 class WXDLLIMPEXP_FWD_CORE wxWindowDC
;
20 class WXDLLIMPEXP_FWD_CORE wxPaintDC
;
21 class WXDLLIMPEXP_FWD_CORE wxClientDC
;
22 class WXDLLIMPEXP_FWD_CORE wxWindowMGL
;
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
28 class WXDLLIMPEXP_CORE wxWindowDC
: public wxDC
32 virtual ~wxWindowDC();
33 wxWindowDC(wxWindow
*win
);
37 bool m_inPaintHandler
;
40 DECLARE_DYNAMIC_CLASS(wxWindowDC
)
43 //-----------------------------------------------------------------------------
45 //-----------------------------------------------------------------------------
47 class WXDLLIMPEXP_CORE wxClientDC
: public wxWindowDC
50 wxClientDC() : wxWindowDC() {}
51 wxClientDC(wxWindow
*win
);
54 DECLARE_DYNAMIC_CLASS(wxClientDC
)
57 //-----------------------------------------------------------------------------
59 //-----------------------------------------------------------------------------
61 class WXDLLIMPEXP_CORE wxPaintDC
: public wxClientDC
64 wxPaintDC() : wxClientDC() {}
65 wxPaintDC(wxWindow
*win
) : wxClientDC(win
) {}
68 DECLARE_DYNAMIC_CLASS(wxPaintDC
)
71 #endif // __WX_DCCLIENT_H__