]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/dcscreen.h
don't do anything in SetWindowMenu() if we're setting the same menu as we already...
[wxWidgets.git] / include / wx / osx / dcscreen.h
index 8e710bed4b974f6b1a0cdb9543e814a4a3746da9..cf6c925ab6c4f900acf0ac0489356f9be93b1c1e 100644 (file)
@@ -1,5 +1,35 @@
-#ifdef __WXMAC_CLASSIC__
-#include "wx/mac/classic/dcscreen.h"
-#else
-#include "wx/mac/carbon/dcscreen.h"
+/////////////////////////////////////////////////////////////////////////////
+// Name:        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)
+    DECLARE_NO_COPY_CLASS(wxScreenDCImpl)
+};
+
 #endif
 #endif
+    // _WX_DCSCREEN_H_
+