1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/dfb/dcclient.h
3 // Purpose: wxWindowDC, wxClientDC and wxPaintDC
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2006 REA Elektronik GmbH
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_DFB_DCCLIENT_H_
12 #define _WX_DFB_DCCLIENT_H_
16 class WXDLLIMPEXP_CORE wxWindow
;
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_CORE wxWindowDC
: public wxDC
26 wxWindowDC(wxWindow
*win
);
29 void InitForWin(wxWindow
*win
);
31 DECLARE_DYNAMIC_CLASS(wxWindowDC
)
32 DECLARE_NO_COPY_CLASS(wxWindowDC
)
35 //-----------------------------------------------------------------------------
36 // base class for wxClientDC and wxPaintDC
37 //-----------------------------------------------------------------------------
39 class WXDLLIMPEXP_CORE wxClientDCBase
: public wxWindowDC
43 wxClientDCBase(wxWindow
*win
);
46 //-----------------------------------------------------------------------------
48 //-----------------------------------------------------------------------------
50 class WXDLLIMPEXP_CORE wxClientDC
: public wxClientDCBase
54 wxClientDC(wxWindow
*win
) : wxClientDCBase(win
) {}
57 DECLARE_DYNAMIC_CLASS(wxClientDC
)
58 DECLARE_NO_COPY_CLASS(wxClientDC
)
62 //-----------------------------------------------------------------------------
64 //-----------------------------------------------------------------------------
66 class WXDLLIMPEXP_CORE wxPaintDC
: public wxClientDCBase
70 wxPaintDC(wxWindow
*win
) : wxClientDCBase(win
) {}
73 DECLARE_DYNAMIC_CLASS(wxPaintDC
)
74 DECLARE_NO_COPY_CLASS(wxPaintDC
)
77 #endif // _WX_DFB_DCCLIENT_H_