]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/dcscreen.h
Prevent seg fault for older GTK+
[wxWidgets.git] / include / wx / mgl / dcscreen.h
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
52750c2e 6// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
65571936 7// Licence: wxWindows licence
32b8ec41
VZ
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __WX_DCSCREEN_H__
11#define __WX_DCSCREEN_H__
12
32b8ec41
VZ
13#include "wx/dcclient.h"
14
15//-----------------------------------------------------------------------------
16// classes
17//-----------------------------------------------------------------------------
18
19class WXDLLEXPORT wxScreenDC;
20
21//-----------------------------------------------------------------------------
22// wxScreenDC
23//-----------------------------------------------------------------------------
24
a4bbc9f7 25class WXDLLEXPORT wxScreenDC: public wxDC
32b8ec41
VZ
26{
27public:
a4bbc9f7 28 wxScreenDC();
d3c7fc99 29 virtual ~wxScreenDC();
32b8ec41 30
a4bbc9f7
VS
31 static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
32 static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }
33 static bool EndDrawingOnTop() { return TRUE; }
32b8ec41
VZ
34
35private:
36 DECLARE_DYNAMIC_CLASS(wxScreenDC)
37};
38
39#endif
40
41 // __WX_DCSCREEN_H__
42