]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/dcscreen.h
Assert correction.
[wxWidgets.git] / include / wx / mgl / dcscreen.h
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
14 #pragma interface "dcscreen.h"
15 #endif
16
17 #include "wx/dcclient.h"
18
19 //-----------------------------------------------------------------------------
20 // classes
21 //-----------------------------------------------------------------------------
22
23 class WXDLLEXPORT wxScreenDC;
24
25 //-----------------------------------------------------------------------------
26 // wxScreenDC
27 //-----------------------------------------------------------------------------
28
29 class WXDLLEXPORT wxScreenDC: public wxDC
30 {
31 public:
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
39 private:
40 DECLARE_DYNAMIC_CLASS(wxScreenDC)
41 };
42
43 #endif
44
45 // __WX_DCSCREEN_H__
46