]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dcclient.h
some new functions:
[wxWidgets.git] / include / wx / msw / dcclient.h
CommitLineData
2bda0e17
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcclient.h
3// Purpose: wxClientDC class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart and Markus Holzem
9// Licence: wxWindows license
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_DCCLIENT_H_
13#define _WX_DCCLIENT_H_
2bda0e17
KB
14
15#ifdef __GNUG__
16#pragma interface "dcclient.h"
17#endif
18
19#include "wx/dc.h"
20
21class WXDLLEXPORT wxClientDC: public wxDC
22{
23 DECLARE_DYNAMIC_CLASS(wxClientDC)
24
25 public:
26 wxClientDC(void);
27
28 // Create a DC corresponding to a canvas
29 wxClientDC(wxWindow *win);
30
31 ~wxClientDC(void);
32};
33
34class WXDLLEXPORT wxWindowDC: public wxDC
35{
36 DECLARE_DYNAMIC_CLASS(wxWindowDC)
37
38 public:
39 wxWindowDC(void);
40
41 // Create a DC corresponding to a canvas
42 wxWindowDC(wxWindow *win);
43
44 ~wxWindowDC(void);
45};
46
47class WXDLLEXPORT wxPaintDC: public wxDC
48{
49 DECLARE_DYNAMIC_CLASS(wxPaintDC)
50
51 public:
52 wxPaintDC(void);
53
54 // Create a DC corresponding to a canvas
55 wxPaintDC(wxWindow *win);
56
57 ~wxPaintDC(void);
58
59 protected:
83626bfa 60 static WXHDC ms_PaintHDC;
3cda6353 61 static size_t ms_PaintCount;
2bda0e17
KB
62};
63
64#endif
bbcdf8bc 65 // _WX_DCCLIENT_H_