]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dcscreen.h
allows resetting color of text to black, closes #4826
[wxWidgets.git] / include / wx / dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/dcscreen.h
3 // Purpose: wxScreenDC base header
4 // Author: Julian Smart
5 // Modified by:
6 // Created:
7 // Copyright: (c) Julian Smart
8 // RCS-ID: $Id$
9 // Licence: wxWindows Licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DCSCREEN_H_BASE_
13 #define _WX_DCSCREEN_H_BASE_
14
15 #include "wx/defs.h"
16 #include "wx/dc.h"
17
18 class WXDLLIMPEXP_CORE wxScreenDC : public wxDC
19 {
20 public:
21 wxScreenDC();
22
23 static bool StartDrawingOnTop(wxWindow * WXUNUSED(window))
24 { return true; }
25 static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL)
26 { return true; }
27 static bool EndDrawingOnTop()
28 { return true; }
29
30 private:
31 DECLARE_DYNAMIC_CLASS(wxScreenDC)
32 };
33
34
35 #endif
36 // _WX_DCSCREEN_H_BASE_