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_
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "dcclient.h"
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
25 class WXDLLEXPORT wxPaintDC
;
26 class WXDLLEXPORT wxWindow
;
28 class WXDLLEXPORT wxWindowDC
: public wxDC
30 DECLARE_DYNAMIC_CLASS(wxWindowDC
)
35 // Create a DC corresponding to a canvas
36 wxWindowDC(wxWindow
*win
);
39 virtual void DoGetSize( int *width
, int *height
) const;
45 class WXDLLEXPORT wxClientDC
: public wxWindowDC
47 DECLARE_DYNAMIC_CLASS(wxClientDC
)
52 // Create a DC corresponding to a canvas
53 wxClientDC(wxWindow
*win
);
56 virtual void DoGetSize( int *width
, int *height
) const;
59 class WXDLLEXPORT wxPaintDC
: public wxWindowDC
61 DECLARE_DYNAMIC_CLASS(wxPaintDC
)
66 // Create a DC corresponding to a canvas
67 wxPaintDC(wxWindow
*win
);
70 virtual void DoGetSize( int *width
, int *height
) const;