X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..905e090500ab0e80bb22508a04f8c77e37748e52:/include/wx/dcscreen.h diff --git a/include/wx/dcscreen.h b/include/wx/dcscreen.h index bd6fcb9f52..cc5a8832a9 100644 --- a/include/wx/dcscreen.h +++ b/include/wx/dcscreen.h @@ -13,6 +13,27 @@ #define _WX_DCSCREEN_H_BASE_ #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" @@ -38,5 +59,6 @@ #include "wx/os2/dcscreen.h" #endif + #endif // _WX_DCSCREEN_H_BASE_