]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dcclient.h
Return the old file descriptor/pointer from wx(F)File::Detach().
[wxWidgets.git] / include / wx / dcclient.h
CommitLineData
99d80019
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/dcclient.h
3// Purpose: wxClientDC base header
4// Author: Julian Smart
99d80019 5// Copyright: (c) Julian Smart
99d80019
JS
6// Licence: wxWindows Licence
7/////////////////////////////////////////////////////////////////////////////
8
34138703
JS
9#ifndef _WX_DCCLIENT_H_BASE_
10#define _WX_DCCLIENT_H_BASE_
c801d85f 11
888dde65
RR
12#include "wx/dc.h"
13
14//-----------------------------------------------------------------------------
15// wxWindowDC
16//-----------------------------------------------------------------------------
17
18class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
19{
20public:
f0875501
VZ
21 wxWindowDC(wxWindow *win);
22
23protected:
24 wxWindowDC(wxDCImpl *impl) : wxDC(impl) { }
888dde65
RR
25
26private:
f0875501 27 DECLARE_ABSTRACT_CLASS(wxWindowDC)
888dde65
RR
28};
29
30//-----------------------------------------------------------------------------
31// wxClientDC
32//-----------------------------------------------------------------------------
33
34class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
35{
36public:
f0875501
VZ
37 wxClientDC(wxWindow *win);
38
39protected:
40 wxClientDC(wxDCImpl *impl) : wxWindowDC(impl) { }
888dde65
RR
41
42private:
f0875501 43 DECLARE_ABSTRACT_CLASS(wxClientDC)
888dde65
RR
44};
45
46//-----------------------------------------------------------------------------
47// wxPaintDC
48//-----------------------------------------------------------------------------
49
50class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
51{
52public:
f0875501
VZ
53 wxPaintDC(wxWindow *win);
54
55protected:
56 wxPaintDC(wxDCImpl *impl) : wxClientDC(impl) { }
888dde65
RR
57
58private:
f0875501 59 DECLARE_ABSTRACT_CLASS(wxPaintDC)
888dde65 60};
c801d85f 61
f0875501 62#endif // _WX_DCCLIENT_H_BASE_