X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac7fb818ccdcb697268fe9d0398bffb85d74fade..3f434666bf9476e7fc6c27de94075211db5f1417:/include/wx/os2/dcscreen.h diff --git a/include/wx/os2/dcscreen.h b/include/wx/os2/dcscreen.h index e0b4204008..6ffaaf35b5 100644 --- a/include/wx/os2/dcscreen.h +++ b/include/wx/os2/dcscreen.h @@ -12,23 +12,29 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#ifdef __GNUG__ -#pragma interface "dcscreen.h" -#endif - #include "wx/dcclient.h" 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