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