]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/dcclient.h
Allow using custom labels for wxGenericMessageDialog buttons.
[wxWidgets.git] / include / wx / dcclient.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/dcclient.h
3// Purpose: wxClientDC base header
4// Author: Julian Smart
5// Copyright: (c) Julian Smart
6// RCS-ID: $Id$
7// Licence: wxWindows Licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_DCCLIENT_H_BASE_
11#define _WX_DCCLIENT_H_BASE_
12
13#include "wx/dc.h"
14
15//-----------------------------------------------------------------------------
16// wxWindowDC
17//-----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
20{
21public:
22 wxWindowDC(wxWindow *win);
23
24protected:
25 wxWindowDC(wxDCImpl *impl) : wxDC(impl) { }
26
27private:
28 DECLARE_ABSTRACT_CLASS(wxWindowDC)
29};
30
31//-----------------------------------------------------------------------------
32// wxClientDC
33//-----------------------------------------------------------------------------
34
35class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
36{
37public:
38 wxClientDC(wxWindow *win);
39
40protected:
41 wxClientDC(wxDCImpl *impl) : wxWindowDC(impl) { }
42
43private:
44 DECLARE_ABSTRACT_CLASS(wxClientDC)
45};
46
47//-----------------------------------------------------------------------------
48// wxPaintDC
49//-----------------------------------------------------------------------------
50
51class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
52{
53public:
54 wxPaintDC(wxWindow *win);
55
56protected:
57 wxPaintDC(wxDCImpl *impl) : wxClientDC(impl) { }
58
59private:
60 DECLARE_ABSTRACT_CLASS(wxPaintDC)
61};
62
63#endif // _WX_DCCLIENT_H_BASE_