]>
Commit | Line | Data |
---|---|---|
2bda0e17 | 1 | ///////////////////////////////////////////////////////////////////////////// |
7ba4fbeb | 2 | // Name: wx/msw/dcscreen.h |
2bda0e17 KB |
3 | // Purpose: wxScreenDC class |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
bbcdf8bc | 8 | // Copyright: (c) Julian Smart |
65571936 | 9 | // Licence: wxWindows licence |
2bda0e17 KB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
7d09b97f VZ |
12 | #ifndef _WX_MSW_DCSCREEN_H_ |
13 | #define _WX_MSW_DCSCREEN_H_ | |
2bda0e17 | 14 | |
888dde65 RR |
15 | #include "wx/dcscreen.h" |
16 | #include "wx/msw/dc.h" | |
2bda0e17 | 17 | |
888dde65 | 18 | class WXDLLEXPORT wxScreenDCImpl : public wxMSWDCImpl |
2bda0e17 | 19 | { |
7ba4fbeb VZ |
20 | public: |
21 | // Create a DC representing the whole screen | |
888dde65 | 22 | wxScreenDCImpl( wxScreenDC *owner ); |
41ff8313 | 23 | |
7d09b97f VZ |
24 | virtual void DoGetSize(int *w, int *h) const |
25 | { | |
26 | GetDeviceSize(w, h); | |
27 | } | |
7ba4fbeb | 28 | |
888dde65 RR |
29 | DECLARE_CLASS(wxScreenDCImpl) |
30 | DECLARE_NO_COPY_CLASS(wxScreenDCImpl) | |
2bda0e17 KB |
31 | }; |
32 | ||
7d09b97f | 33 | #endif // _WX_MSW_DCSCREEN_H_ |
2bda0e17 | 34 |