]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/dcscreen.h
more avoiding direct struct access
[wxWidgets.git] / include / wx / msw / dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/dcscreen.h
3 // Purpose: wxScreenDC class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_MSW_DCSCREEN_H_
13 #define _WX_MSW_DCSCREEN_H_
14
15 #include "wx/dcscreen.h"
16 #include "wx/msw/dc.h"
17
18 class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxMSWDCImpl
19 {
20 public:
21 // Create a DC representing the whole screen
22 wxScreenDCImpl( wxScreenDC *owner );
23
24 virtual void DoGetSize(int *w, int *h) const
25 {
26 GetDeviceSize(w, h);
27 }
28
29 DECLARE_CLASS(wxScreenDCImpl)
30 wxDECLARE_NO_COPY_CLASS(wxScreenDCImpl);
31 };
32
33 #endif // _WX_MSW_DCSCREEN_H_
34