]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcscreen.h
wxDC rework, forgot these
[wxWidgets.git] / include / wx / dcscreen.h
index 581e359dbf67ef1a708879ca135352a34d3aae2e..cc5a8832a9ffd7e5928e7c0b246786695da88557 100644 (file)
 #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();
+
+    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
+
 #if defined(__WXPALMOS__)
 #include "wx/palmos/dcscreen.h"
 #elif defined(__WXMSW__)
@@ -26,6 +49,8 @@
 #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__)
@@ -34,5 +59,6 @@
 #include "wx/os2/dcscreen.h"
 #endif
 
+
 #endif
     // _WX_DCSCREEN_H_BASE_