X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c23a0b01b3fb667ec41fc8271ce1ee5b5aa4e19..d42508c2a026d505d39c386b233de4a1b51f1445:/include/wx/stubs/dcscreen.h diff --git a/include/wx/stubs/dcscreen.h b/include/wx/stubs/dcscreen.h index 78ded86d8a..e04b450f69 100644 --- a/include/wx/stubs/dcscreen.h +++ b/include/wx/stubs/dcscreen.h @@ -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; } };