1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/dcclient.h
3 // Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
4 // Author: Stefan Csomor
7 // Copyright: (c) Stefan Csomor
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_DCCLIENT_H_
12 #define _WX_DCCLIENT_H_
15 #include "wx/dcgraph.h"
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 class WXDLLIMPEXP_FWD_CORE wxPaintDC
;
22 class WXDLLIMPEXP_FWD_CORE wxWindow
;
24 class WXDLLIMPEXP_CORE wxWindowDCImpl
: public wxGCDCImpl
27 wxWindowDCImpl( wxDC
*owner
);
28 wxWindowDCImpl( wxDC
*owner
, wxWindow
*window
);
29 virtual ~wxWindowDCImpl();
31 virtual void DoGetSize( int *width
, int *height
) const;
32 virtual wxBitmap
DoGetAsBitmap(const wxRect
*subrect
) const;
39 DECLARE_CLASS(wxWindowDCImpl
)
40 wxDECLARE_NO_COPY_CLASS(wxWindowDCImpl
);
44 class WXDLLIMPEXP_CORE wxClientDCImpl
: public wxWindowDCImpl
47 wxClientDCImpl( wxDC
*owner
);
48 wxClientDCImpl( wxDC
*owner
, wxWindow
*window
);
49 virtual ~wxClientDCImpl();
52 DECLARE_CLASS(wxClientDCImpl
)
53 wxDECLARE_NO_COPY_CLASS(wxClientDCImpl
);
57 class WXDLLIMPEXP_CORE wxPaintDCImpl
: public wxWindowDCImpl
60 wxPaintDCImpl( wxDC
*owner
);
61 wxPaintDCImpl( wxDC
*owner
, wxWindow
*win
);
62 virtual ~wxPaintDCImpl();
65 DECLARE_CLASS(wxPaintDCImpl
)
66 wxDECLARE_NO_COPY_CLASS(wxPaintDCImpl
);