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