X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c23a0b01b3fb667ec41fc8271ce1ee5b5aa4e19..f485492a1eef7a413945b331bc9bdb26cceaf0cd:/include/wx/stubs/dcscreen.h?ds=sidebyside 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; } };