]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/dcclient.h
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(__APPLE__)
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
);
42 class WXDLLEXPORT wxClientDC
: public wxWindowDC
44 DECLARE_DYNAMIC_CLASS(wxClientDC
)
49 // Create a DC corresponding to a canvas
50 wxClientDC(wxWindow
*win
);
55 class WXDLLEXPORT wxPaintDC
: public wxWindowDC
57 DECLARE_DYNAMIC_CLASS(wxPaintDC
)
62 // Create a DC corresponding to a canvas
63 wxPaintDC(wxWindow
*win
);