]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dcclient.h
Don't duplicate event sending code in wxGTK wxListBox.
[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 // 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
19 class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
20 {
21 public:
22 wxWindowDC(wxWindow *win);
23
24 protected:
25 wxWindowDC(wxDCImpl *impl) : wxDC(impl) { }
26
27 private:
28 DECLARE_ABSTRACT_CLASS(wxWindowDC)
29 };
30
31 //-----------------------------------------------------------------------------
32 // wxClientDC
33 //-----------------------------------------------------------------------------
34
35 class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
36 {
37 public:
38 wxClientDC(wxWindow *win);
39
40 protected:
41 wxClientDC(wxDCImpl *impl) : wxWindowDC(impl) { }
42
43 private:
44 DECLARE_ABSTRACT_CLASS(wxClientDC)
45 };
46
47 //-----------------------------------------------------------------------------
48 // wxPaintDC
49 //-----------------------------------------------------------------------------
50
51 class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
52 {
53 public:
54 wxPaintDC(wxWindow *win);
55
56 protected:
57 wxPaintDC(wxDCImpl *impl) : wxClientDC(impl) { }
58
59 private:
60 DECLARE_ABSTRACT_CLASS(wxPaintDC)
61 };
62
63 #endif // _WX_DCCLIENT_H_BASE_