]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stubs/dcscreen.h
Corrected grey scrolling windows; added C++Builder 3.0 fixes
[wxWidgets.git] / include / wx / stubs / dcscreen.h
index 78ded86d8a01bf49e2cb332ed0b4d3a61cbbbd44..e04b450f69941e8ce90f5ac3e2da5dfc90f3a923 100644 (file)
@@ -16,9 +16,9 @@
 #pragma interface "dcscreen.h"
 #endif
 
-#include "wx/dc.h"
+#include "wx/dcclient.h"
 
-class WXDLLEXPORT wxScreenDC: public wxDC
+class WXDLLEXPORT wxScreenDC: public wxWindowDC
 {
   DECLARE_DYNAMIC_CLASS(wxScreenDC)
 
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxScreenDC: public wxDC
   // Compatibility with X's requirements for
   // drawing on top of all windows
   static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; }
-  static bool StartDrawingOnTop(wxRectangle* WXUNUSED(rect) = NULL) { return TRUE; }
+  static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; }
   static bool EndDrawingOnTop() { return TRUE; }
 };