X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b88201ff5f0f9ed18db555b70eb7123c8a7c9c6..44c87b7d15d5c1f5926beffa4cd5c9d1d2045e04:/include/wx/x11/dcscreen.h diff --git a/include/wx/x11/dcscreen.h b/include/wx/x11/dcscreen.h index 667ea6dcc5..07cc7dac21 100644 --- a/include/wx/x11/dcscreen.h +++ b/include/wx/x11/dcscreen.h @@ -13,32 +13,23 @@ #define _WX_DCSCREEN_H_ #include "wx/dcclient.h" +#include "wx/x11/dcclient.h" //----------------------------------------------------------------------------- // wxScreenDC //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxScreenDC : public wxPaintDC +class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxPaintDCImpl { public: - wxScreenDC(); - virtual ~wxScreenDC(); - - static bool StartDrawingOnTop( wxWindow *window ); - static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL ); - static bool EndDrawingOnTop(); - - // implementation - - static WXWindow *sm_overlayWindow; - static int sm_overlayWindowX; - static int sm_overlayWindowY; + wxScreenDCImpl( wxDC *owner); + virtual ~wxScreenDCImpl(); protected: virtual void DoGetSize(int *width, int *height) const; private: - DECLARE_DYNAMIC_CLASS(wxScreenDC) + DECLARE_CLASS(wxScreenDCImpl) };