]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/os2/dcscreen.h
no real changes, just some cleanup
[wxWidgets.git] / include / wx / os2 / dcscreen.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.h
3// Purpose: wxScreenDC class
4// Author: David Webster
5// Modified by:
6// Created: 10/14/99
7// RCS-ID: $Id$
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCSCREEN_H_
13#define _WX_DCSCREEN_H_
14
15#include "wx/dcclient.h"
16
17class WXDLLEXPORT wxScreenDC: public wxWindowDC
18{
19 public:
20 //
21 // Create a DC representing the whole screen
22 //
23 wxScreenDC();
24
25 //
26 // Compatibility with X's requirements for
27 // drawing on top of all windows
28 //
29 static bool StartDrawingOnTop(wxWindow* WXUNUSED(pWindow)) { return TRUE; }
30 static bool StartDrawingOnTop(wxRect* WXUNUSED(prect) = NULL) { return TRUE; }
31 static bool EndDrawingOnTop() { return TRUE; }
32
33protected:
34 virtual void DoGetSize( int* pnWidth
35 ,int* pnHeight
36 ) const;
37
38private:
39 DECLARE_DYNAMIC_CLASS(wxScreenDC)
40}; // end of CLASS wxScreenDC
41
42#endif
43 // _WX_DCSCREEN_H_
44