]>
Commit | Line | Data |
---|---|---|
99d80019 JS |
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 | ||
34138703 JS |
12 | #ifndef _WX_DCSCREEN_H_BASE_ |
13 | #define _WX_DCSCREEN_H_BASE_ | |
c801d85f | 14 | |
e45689df | 15 | #include "wx/defs.h" |
ab171e95 RR |
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 | ||
4f37154e RR |
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 | ||
ab171e95 RR |
32 | private: |
33 | DECLARE_DYNAMIC_CLASS(wxScreenDC) | |
34 | }; | |
35 | ||
36 | #endif | |
e45689df | 37 | |
4055ed82 | 38 | #if defined(__WXPALMOS__) |
ffecfa5a JS |
39 | #include "wx/palmos/dcscreen.h" |
40 | #elif defined(__WXMSW__) | |
c801d85f | 41 | #include "wx/msw/dcscreen.h" |
2049ba38 | 42 | #elif defined(__WXMOTIF__) |
34138703 | 43 | #include "wx/motif/dcscreen.h" |
1be7a35c | 44 | #elif defined(__WXGTK20__) |
c801d85f | 45 | #include "wx/gtk/dcscreen.h" |
1be7a35c MR |
46 | #elif defined(__WXGTK__) |
47 | #include "wx/gtk1/dcscreen.h" | |
83df96d6 JS |
48 | #elif defined(__WXX11__) |
49 | #include "wx/x11/dcscreen.h" | |
1e6feb95 VZ |
50 | #elif defined(__WXMGL__) |
51 | #include "wx/mgl/dcscreen.h" | |
b3c86150 VS |
52 | #elif defined(__WXDFB__) |
53 | #include "wx/dfb/dcscreen.h" | |
34138703 JS |
54 | #elif defined(__WXMAC__) |
55 | #include "wx/mac/dcscreen.h" | |
e64df9bc DE |
56 | #elif defined(__WXCOCOA__) |
57 | #include "wx/cocoa/dcscreen.h" | |
1777b9bb DW |
58 | #elif defined(__WXPM__) |
59 | #include "wx/os2/dcscreen.h" | |
c801d85f KB |
60 | #endif |
61 | ||
c8ddadff | 62 | |
c801d85f | 63 | #endif |
34138703 | 64 | // _WX_DCSCREEN_H_BASE_ |