]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/dcscreen.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / msw / dcscreen.h
... / ...
CommitLineData
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
18class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxMSWDCImpl
19{
20public:
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