]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/dcscreen.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / osx / dcscreen.h
index 13b7afb7d99ec92f52b092bf3afbae779f4b7334..fbcd9083d69f982c10f1b816d6af7dc691468a34 100644 (file)
@@ -1,5 +1,35 @@
-#ifdef __WXMAC_CLASSIC__
-#include "wx/osx/classic/dcscreen.h"
-#else
-#include "wx/osx/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_
+