X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e25ba908f6a9e03f131e8ce9df19558c3e09a35..88150e6073673c304d285906e0d718374a5abe93:/include/wx/stubs/dcscreen.h diff --git a/include/wx/stubs/dcscreen.h b/include/wx/stubs/dcscreen.h index 12d4996e70..e04b450f69 100644 --- a/include/wx/stubs/dcscreen.h +++ b/include/wx/stubs/dcscreen.h @@ -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; } };