X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..9a2534df0492d08e808224648cad814ba21ba80d:/include/wx/dcscreen.h diff --git a/include/wx/dcscreen.h b/include/wx/dcscreen.h index c6a65fc720..cc5a8832a9 100644 --- a/include/wx/dcscreen.h +++ b/include/wx/dcscreen.h @@ -1,18 +1,56 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: wx/dcscreen.h +// Purpose: wxScreenDC base header +// Author: Julian Smart +// Modified by: +// Created: +// Copyright: (c) Julian Smart +// RCS-ID: $Id$ +// Licence: wxWindows Licence +///////////////////////////////////////////////////////////////////////////// + #ifndef _WX_DCSCREEN_H_BASE_ #define _WX_DCSCREEN_H_BASE_ -#if defined(__PALMOS__) +#include "wx/defs.h" +#include "wx/dc.h" + +#if wxUSE_NEW_DC + +class WXDLLIMPEXP_CORE wxScreenDC : public wxWindowDC +{ +public: + wxScreenDC(); + + static bool StartDrawingOnTop(wxWindow * WXUNUSED(window)) + { return true; } + static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL) + { return true; } + static bool EndDrawingOnTop() + { return true; } + +private: + DECLARE_DYNAMIC_CLASS(wxScreenDC) +}; + +#endif + +#if defined(__WXPALMOS__) #include "wx/palmos/dcscreen.h" #elif defined(__WXMSW__) #include "wx/msw/dcscreen.h" #elif defined(__WXMOTIF__) #include "wx/motif/dcscreen.h" -#elif defined(__WXGTK__) +#elif defined(__WXGTK20__) #include "wx/gtk/dcscreen.h" +#elif defined(__WXGTK__) +#include "wx/gtk1/dcscreen.h" #elif defined(__WXX11__) #include "wx/x11/dcscreen.h" #elif defined(__WXMGL__) #include "wx/mgl/dcscreen.h" +#elif defined(__WXDFB__) +#include "wx/dfb/dcscreen.h" #elif defined(__WXMAC__) #include "wx/mac/dcscreen.h" #elif defined(__WXCOCOA__) @@ -21,5 +59,6 @@ #include "wx/os2/dcscreen.h" #endif + #endif // _WX_DCSCREEN_H_BASE_