]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/dcclient.h
Removed obsolete wxDate and wxTime classes.
[wxWidgets.git] / include / wx / mac / dcclient.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dcclient.h
3 // Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
4 // Author: Stefan Csomor
5 // Modified by:
6 // Created: 1998-01-01
7 // RCS-ID: $Id$
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DCCLIENT_H_
13 #define _WX_DCCLIENT_H_
14
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "dcclient.h"
17 #endif
18
19 #include "wx/dc.h"
20
21 //-----------------------------------------------------------------------------
22 // classes
23 //-----------------------------------------------------------------------------
24
25 class WXDLLEXPORT wxPaintDC;
26 class WXDLLEXPORT wxWindow;
27
28 class WXDLLEXPORT wxWindowDC: public wxDC
29 {
30 DECLARE_DYNAMIC_CLASS(wxWindowDC)
31
32 public:
33 wxWindowDC(void);
34
35 // Create a DC corresponding to a canvas
36 wxWindowDC(wxWindow *win);
37
38 ~wxWindowDC(void);
39 };
40
41
42 class WXDLLEXPORT wxClientDC: public wxWindowDC
43 {
44 DECLARE_DYNAMIC_CLASS(wxClientDC)
45
46 public:
47 wxClientDC(void);
48
49 // Create a DC corresponding to a canvas
50 wxClientDC(wxWindow *win);
51
52 ~wxClientDC(void);
53 };
54
55 class WXDLLEXPORT wxPaintDC: public wxWindowDC
56 {
57 DECLARE_DYNAMIC_CLASS(wxPaintDC)
58
59 public:
60 wxPaintDC(void);
61
62 // Create a DC corresponding to a canvas
63 wxPaintDC(wxWindow *win);
64
65 ~wxPaintDC(void);
66 };
67
68 #endif
69 // _WX_DCCLIENT_H_