]>
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__
13 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
14 #pragma interface "dcclient.h"
19 //-----------------------------------------------------------------------------
21 //-----------------------------------------------------------------------------
23 class WXDLLEXPORT wxWindowDC
;
24 class WXDLLEXPORT wxPaintDC
;
25 class WXDLLEXPORT wxClientDC
;
26 class WXDLLEXPORT wxWindowMGL
;
28 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 class WXDLLEXPORT wxWindowDC
: public wxDC
36 virtual ~wxWindowDC();
37 wxWindowDC(wxWindow
*win
);
41 bool m_inPaintHandler
;
44 DECLARE_DYNAMIC_CLASS(wxWindowDC
)
47 //-----------------------------------------------------------------------------
49 //-----------------------------------------------------------------------------
51 class WXDLLEXPORT wxClientDC
: public wxWindowDC
54 wxClientDC() : wxWindowDC() {}
55 wxClientDC(wxWindow
*win
);
58 DECLARE_DYNAMIC_CLASS(wxClientDC
)
61 //-----------------------------------------------------------------------------
63 //-----------------------------------------------------------------------------
65 class WXDLLEXPORT wxPaintDC
: public wxClientDC
68 wxPaintDC() : wxClientDC() {}
69 wxPaintDC(wxWindow
*win
) : wxClientDC(win
) {}
72 DECLARE_DYNAMIC_CLASS(wxPaintDC
)
75 #endif // __WX_DCCLIENT_H__