]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcscreen.h
More work on getting wxLisBox events right
[wxWidgets.git] / include / wx / dcscreen.h
index bd35719499d2d1b07737a4e3d8aa8026a2e6fe88..763ccb830b8c2ee29788160683cbd662a04634a2 100644 (file)
@@ -1,19 +1,36 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/dcscreen.h
+// Purpose:     wxScreenDC base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// 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(__WXQT__)
-#include "wx/qt/dcscreen.h"
-#elif defined(__WXMAC__)
-#include "wx/mac/dcscreen.h"
-#elif defined(__WXSTUBS__)
-#include "wx/stubs/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_