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