X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c6eb3a84be918dcfed2496d014549e13af0f0e9..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/osx/dcscreen.h?ds=sidebyside diff --git a/include/wx/osx/dcscreen.h b/include/wx/osx/dcscreen.h index 8e710bed4b..fbcd9083d6 100644 --- a/include/wx/osx/dcscreen.h +++ b/include/wx/osx/dcscreen.h @@ -1,5 +1,35 @@ -#ifdef __WXMAC_CLASSIC__ -#include "wx/mac/classic/dcscreen.h" -#else -#include "wx/mac/carbon/dcscreen.h" +///////////////////////////////////////////////////////////////////////////// +// Name: wx/osx/dcscreen.h +// Purpose: wxScreenDC class +// Author: Stefan Csomor +// Modified by: +// Created: 1998-01-01 +// RCS-ID: $Id$ +// Copyright: (c) Stefan Csomor +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_DCSCREEN_H_ +#define _WX_DCSCREEN_H_ + +#include "wx/dcclient.h" +#include "wx/osx/dcclient.h" + +class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxWindowDCImpl +{ +public: + wxScreenDCImpl( wxDC *owner ); + virtual ~wxScreenDCImpl(); + + virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const; +private: + void* m_overlayWindow; + +private: + DECLARE_CLASS(wxScreenDCImpl) + wxDECLARE_NO_COPY_CLASS(wxScreenDCImpl); +}; + #endif + // _WX_DCSCREEN_H_ +