]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dcscreen.h
Fix wxOSX warnings about int-to-void* casts.
[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 // Licence: wxWindows Licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_DCSCREEN_H_BASE_
12 #define _WX_DCSCREEN_H_BASE_
13
14 #include "wx/defs.h"
15 #include "wx/dc.h"
16
17 class WXDLLIMPEXP_CORE wxScreenDC : public wxDC
18 {
19 public:
20 wxScreenDC();
21
22 static bool StartDrawingOnTop(wxWindow * WXUNUSED(window))
23 { return true; }
24 static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL)
25 { return true; }
26 static bool EndDrawingOnTop()
27 { return true; }
28
29 private:
30 DECLARE_DYNAMIC_CLASS(wxScreenDC)
31 };
32
33
34 #endif
35 // _WX_DCSCREEN_H_BASE_