]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcscreen.h
forward port from 2.8
[wxWidgets.git] / include / wx / dcscreen.h
index 7a5c047955073ec7c33615e53626eef54ec4d5a6..f320205b8e7f986ffd49991904c9e348dee43579 100644 (file)
@@ -1,15 +1,56 @@
-#ifndef __DCSCREENH_BASE__
-#define __DCSCREENH_BASE__
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/dcscreen.h
+// Purpose:     wxScreenDC base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
 
-#if defined(__WXMSW__)
+#ifndef _WX_DCSCREEN_H_BASE_
+#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();
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxScreenDC)
+};
+
+#endif
+
+#if defined(__WXPALMOS__)
+#include "wx/palmos/dcscreen.h"
+#elif defined(__WXMSW__)
 #include "wx/msw/dcscreen.h"
 #elif defined(__WXMOTIF__)
-#include "wx/xt/dcscreen.h"
-#elif defined(__WXGTK__)
+#include "wx/motif/dcscreen.h"
+#elif defined(__WXGTK20__)
 #include "wx/gtk/dcscreen.h"
-#elif defined(__WXQT__)
-#include "wx/qt/dcscreen.h"
+#elif defined(__WXGTK__)
+#include "wx/gtk1/dcscreen.h"
+#elif defined(__WXX11__)
+#include "wx/x11/dcscreen.h"
+#elif defined(__WXMGL__)
+#include "wx/mgl/dcscreen.h"
+#elif defined(__WXDFB__)
+#include "wx/dfb/dcscreen.h"
+#elif defined(__WXMAC__)
+#include "wx/mac/dcscreen.h"
+#elif defined(__WXCOCOA__)
+#include "wx/cocoa/dcscreen.h"
+#elif defined(__WXPM__)
+#include "wx/os2/dcscreen.h"
 #endif
 
 #endif
-    // __DCSCREENH_BASE__
+    // _WX_DCSCREEN_H_BASE_