]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcscreen.h
wxDialogBase only has one ctor, so just do initialization in ctor instead of Init()
[wxWidgets.git] / include / wx / dcscreen.h
index 430e2ef6f553d4f7f2ecc23723178cda79323416..391e91aacf8149333f83c2609f750bc18f3e5725 100644 (file)
@@ -1,21 +1,35 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/dcscreen.h
+// Purpose:     wxScreenDC base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// Licence:     wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
 #ifndef _WX_DCSCREEN_H_BASE_
 #define _WX_DCSCREEN_H_BASE_
 
-#if defined(__WXMSW__)
-#include "wx/msw/dcscreen.h"
-#elif defined(__WXMOTIF__)
-#include "wx/motif/dcscreen.h"
-#elif defined(__WXGTK__)
-#include "wx/gtk/dcscreen.h"
-#elif defined(__WXX11__)
-#include "wx/x11/dcscreen.h"
-#elif defined(__WXMGL__)
-#include "wx/mgl/dcscreen.h"
-#elif defined(__WXMAC__)
-#include "wx/mac/dcscreen.h"
-#elif defined(__WXPM__)
-#include "wx/os2/dcscreen.h"
-#endif
+#include "wx/defs.h"
+#include "wx/dc.h"
+
+class WXDLLIMPEXP_CORE wxScreenDC : public wxDC
+{
+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
     // _WX_DCSCREEN_H_BASE_