]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/mgl/dcscreen.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / mgl / dcscreen.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
6// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __WX_DCSCREEN_H__
11#define __WX_DCSCREEN_H__
12
13#ifdef __GNUG__
14#pragma interface "dcscreen.h"
15#endif
16
17#include "wx/dcclient.h"
18
19//-----------------------------------------------------------------------------
20// classes
21//-----------------------------------------------------------------------------
22
23class WXDLLEXPORT wxScreenDC;
24
25//-----------------------------------------------------------------------------
26// wxScreenDC
27//-----------------------------------------------------------------------------
28
29class WXDLLEXPORT wxScreenDC: public wxDC
30{
31public:
32 wxScreenDC();
33 ~wxScreenDC();
34
35 static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
36 static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }
37 static bool EndDrawingOnTop() { return TRUE; }
38
39private:
40 DECLARE_DYNAMIC_CLASS(wxScreenDC)
41};
42
43#endif
44
45 // __WX_DCSCREEN_H__
46