X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac7fb818ccdcb697268fe9d0398bffb85d74fade..119727ad9e58e42326764a259a5b88267bb43528:/include/wx/os2/dcscreen.h diff --git a/include/wx/os2/dcscreen.h b/include/wx/os2/dcscreen.h index e0b4204008..0d3c694e54 100644 --- a/include/wx/os2/dcscreen.h +++ b/include/wx/os2/dcscreen.h @@ -21,14 +21,24 @@ class WXDLLEXPORT wxScreenDC: public wxWindowDC { public: - // Create a DC representing the whole screen - wxScreenDC(); - - // Compatibility with X's requirements for - // drawing on top of all windows - static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; } - static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; } - static bool EndDrawingOnTop() { return TRUE; } + // + // Create a DC representing the whole screen + // + wxScreenDC(); + + // + // Compatibility with X's requirements for + // drawing on top of all windows + // + static bool StartDrawingOnTop(wxWindow* WXUNUSED(pWindow)) { return TRUE; } + static bool StartDrawingOnTop(wxRect* WXUNUSED(prect) = NULL) { return TRUE; } + static bool EndDrawingOnTop() { return TRUE; } + +protected: + virtual void DoGetSize( int* pnWidth + ,int* pnHeight + ) const; + private: DECLARE_DYNAMIC_CLASS(wxScreenDC) }; // end of CLASS wxScreenDC