1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCCLIENT_H_
13 #define _WX_DCCLIENT_H_
16 #include "wx/dcgraph.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_FWD_CORE wxPaintDC
;
23 class WXDLLIMPEXP_FWD_CORE wxWindow
;
25 class WXDLLEXPORT wxWindowDCImpl
: public wxGCDCImpl
28 wxWindowDCImpl( wxDC
*owner
);
29 wxWindowDCImpl( wxDC
*owner
, wxWindow
*window
);
30 virtual ~wxWindowDCImpl();
33 virtual void DoGetSize( int *width
, int *height
) const;
34 virtual wxBitmap
DoGetAsBitmap(const wxRect
*subrect
) const;
41 DECLARE_CLASS(wxWindowDCImpl
)
42 DECLARE_NO_COPY_CLASS(wxWindowDCImpl
)
46 class WXDLLEXPORT wxClientDCImpl
: public wxWindowDCImpl
49 wxClientDCImpl( wxDC
*owner
);
50 wxClientDCImpl( wxDC
*owner
, wxWindow
*window
);
51 virtual ~wxClientDCImpl();
54 DECLARE_CLASS(wxClientDCImpl
)
55 DECLARE_NO_COPY_CLASS(wxClientDCImpl
)
59 class WXDLLEXPORT wxPaintDCImpl
: public wxWindowDCImpl
62 wxPaintDCImpl( wxDC
*owner
);
63 wxPaintDCImpl( wxDC
*owner
, wxWindow
*win
);
64 virtual ~wxPaintDCImpl();
67 DECLARE_CLASS(wxPaintDCImpl
)
68 DECLARE_NO_COPY_CLASS(wxPaintDCImpl
)