]>
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 VZ |
23 | |
24 | protected: | |
7d09b97f VZ |
25 | virtual void DoGetSize(int *w, int *h) const |
26 | { | |
27 | GetDeviceSize(w, h); | |
28 | } | |
7ba4fbeb VZ |
29 | |
30 | private: | |
888dde65 RR |
31 | DECLARE_CLASS(wxScreenDCImpl) |
32 | DECLARE_NO_COPY_CLASS(wxScreenDCImpl) | |
2bda0e17 KB |
33 | }; |
34 | ||
7d09b97f | 35 | #endif // _WX_MSW_DCSCREEN_H_ |
2bda0e17 | 36 |