]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dcscreen.h
Renamed HasChildren() to IsContainer(), added GetParent() to wxDataViewModel
[wxWidgets.git] / include / wx / msw / dcscreen.h
CommitLineData
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
7d09b97f 15#include "wx/dc.h"
2bda0e17 16
7d09b97f 17class WXDLLEXPORT wxScreenDC : public wxDC
2bda0e17 18{
7ba4fbeb
VZ
19public:
20 // Create a DC representing the whole screen
21 wxScreenDC();
22
f81dc6e9
VZ
23 // Compatibility with X's requirements for drawing on top of all windows:
24 // they don't do anything under MSW
25 static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }
26 static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return true; }
27 static bool EndDrawingOnTop() { return true; }
41ff8313
VZ
28
29protected:
7d09b97f
VZ
30 virtual void DoGetSize(int *w, int *h) const
31 {
32 GetDeviceSize(w, h);
33 }
7ba4fbeb
VZ
34
35private:
fc7a2a60 36 DECLARE_DYNAMIC_CLASS_NO_COPY(wxScreenDC)
2bda0e17
KB
37};
38
7d09b97f 39#endif // _WX_MSW_DCSCREEN_H_
2bda0e17 40