]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dcscreen.h
added checks for more wxUSE_SVG dependencies: wxUSE_IMAGE and wxUSE_LIBPNG
[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 #if wxUSE_NEW_DC
19
20 class WXDLLIMPEXP_CORE wxScreenDC : public wxWindowDC
21 {
22 public:
23 wxScreenDC();
24
25 static bool StartDrawingOnTop(wxWindow * WXUNUSED(window))
26 { return true; }
27 static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL)
28 { return true; }
29 static bool EndDrawingOnTop()
30 { return true; }
31
32 private:
33 DECLARE_DYNAMIC_CLASS(wxScreenDC)
34 };
35
36 #endif
37
38 #if defined(__WXPALMOS__)
39 #include "wx/palmos/dcscreen.h"
40 #elif defined(__WXMSW__)
41 #include "wx/msw/dcscreen.h"
42 #elif defined(__WXMOTIF__)
43 #include "wx/motif/dcscreen.h"
44 #elif defined(__WXGTK20__)
45 #include "wx/gtk/dcscreen.h"
46 #elif defined(__WXGTK__)
47 #include "wx/gtk1/dcscreen.h"
48 #elif defined(__WXX11__)
49 #include "wx/x11/dcscreen.h"
50 #elif defined(__WXMGL__)
51 #include "wx/mgl/dcscreen.h"
52 #elif defined(__WXDFB__)
53 #include "wx/dfb/dcscreen.h"
54 #elif defined(__WXMAC__)
55 #include "wx/mac/dcscreen.h"
56 #elif defined(__WXCOCOA__)
57 #include "wx/cocoa/dcscreen.h"
58 #elif defined(__WXPM__)
59 #include "wx/os2/dcscreen.h"
60 #endif
61
62
63 #endif
64 // _WX_DCSCREEN_H_BASE_