]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stubs/dcscreen.h
Fixes to wxMotif scrolling and colours (wxTreeCtrl/wxListCtrl now seem to work
[wxWidgets.git] / include / wx / stubs / dcscreen.h
index 12d4996e706eb64e599fc519b860cdc79fd977ea..e04b450f69941e8ce90f5ac3e2da5dfc90f3a923 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/dcclient.h"
 
-class WXDLLEXPORT wxScreenDC: public wxPaintDC
+class WXDLLEXPORT wxScreenDC: public wxWindowDC
 {
   DECLARE_DYNAMIC_CLASS(wxScreenDC)
 
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxScreenDC: public wxPaintDC
   // 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; }
 };