X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/dcscreen.h?ds=sidebyside diff --git a/include/wx/dcscreen.h b/include/wx/dcscreen.h index 9dde7580d3..391e91aacf 100644 --- a/include/wx/dcscreen.h +++ b/include/wx/dcscreen.h @@ -1,13 +1,35 @@ -#ifndef __DCSCREENH_BASE__ -#define __DCSCREENH_BASE__ - -#if defined(__WINDOWS__) -#include "wx/msw/dcscreen.h" -#elif defined(__MOTIF__) -#include "wx/xt/dcscreen.h" -#elif defined(__GTK__) -#include "wx/gtk/dcscreen.h" -#endif +///////////////////////////////////////////////////////////////////////////// +// Name: wx/dcscreen.h +// Purpose: wxScreenDC base header +// Author: Julian Smart +// Modified by: +// Created: +// Copyright: (c) Julian Smart +// Licence: wxWindows Licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_DCSCREEN_H_BASE_ +#define _WX_DCSCREEN_H_BASE_ + +#include "wx/defs.h" +#include "wx/dc.h" + +class WXDLLIMPEXP_CORE wxScreenDC : public wxDC +{ +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 - // __DCSCREENH_BASE__ + // _WX_DCSCREEN_H_BASE_