]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/dcclient.h
1 /////////////////////////////////////////////////////////////////////////////
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 WXDLLEXPORT wxWindowDC
;
20 class WXDLLEXPORT wxPaintDC
;
21 class WXDLLEXPORT wxClientDC
;
22 class WXDLLEXPORT wxWindowMGL
;
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
28 class WXDLLEXPORT wxWindowDC
: public wxDC
32 virtual ~wxWindowDC();
33 wxWindowDC(wxWindow
*win
);
37 bool m_inPaintHandler
;
40 DECLARE_DYNAMIC_CLASS(wxWindowDC
)
43 //-----------------------------------------------------------------------------
45 //-----------------------------------------------------------------------------
47 class WXDLLEXPORT wxClientDC
: public wxWindowDC
50 wxClientDC() : wxWindowDC() {}
51 wxClientDC(wxWindow
*win
);
54 DECLARE_DYNAMIC_CLASS(wxClientDC
)
57 //-----------------------------------------------------------------------------
59 //-----------------------------------------------------------------------------
61 class WXDLLEXPORT wxPaintDC
: public wxClientDC
64 wxPaintDC() : wxClientDC() {}
65 wxPaintDC(wxWindow
*win
) : wxClientDC(win
) {}
68 DECLARE_DYNAMIC_CLASS(wxPaintDC
)
71 #endif // __WX_DCCLIENT_H__