]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dfb/dcscreen.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / dfb / dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/dfb/dcscreen.h
3 // Purpose: wxScreenDC declaration
4 // Author: Vaclav Slavik
5 // Created: 2006-08-10
6 // RCS-ID: $Id$
7 // Copyright: (c) 2006 REA Elektronik GmbH
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_DFB_DCSCREEN_H_
12 #define _WX_DFB_DCSCREEN_H_
13
14 #include "wx/dc.h"
15
16 class WXDLLIMPEXP_CORE wxScreenDC: public wxDC
17 {
18 public:
19 wxScreenDC();
20
21 static bool StartDrawingOnTop(wxWindow *WXUNUSED(window))
22 { return true; }
23 static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL)
24 { return true; }
25 static bool EndDrawingOnTop()
26 { return true; }
27
28 DECLARE_DYNAMIC_CLASS(wxScreenDC)
29 };
30
31 #endif // _WX_DFB_DCSCREEN_H_