X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4161a2a08e622ba55f66610e26892f5fda37e6f..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/gtk/dcscreen.h?ds=sidebyside diff --git a/include/wx/gtk/dcscreen.h b/include/wx/gtk/dcscreen.h index 1e8a9425ac..5f9538b4ce 100644 --- a/include/wx/gtk/dcscreen.h +++ b/include/wx/gtk/dcscreen.h @@ -10,35 +10,18 @@ #ifndef __GTKDCSCREENH__ #define __GTKDCSCREENH__ -#include "wx/dcclient.h" +#include "wx/dcscreen.h" +#include "wx/gtk/dcclient.h" //----------------------------------------------------------------------------- -// wxScreenDC +// wxScreenDCImpl //----------------------------------------------------------------------------- -#if wxUSE_NEW_DC -class WXDLLIMPEXP_CORE wxGTKScreenImplDC : public wxGTKWindowImplDC -#else -#define wxGTKScreenImplDC wxScreenDC -class WXDLLIMPEXP_CORE wxScreenDC : public wxWindowDC -#endif +class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxWindowDCImpl { public: - -#if wxUSE_NEW_DC - wxGTKScreenImplDC( wxScreenDC *owner ); -#else - wxScreenDC(); -#endif - - ~wxGTKScreenImplDC(); - - static bool StartDrawingOnTop(wxWindow * WXUNUSED(window)) - { return true; } - static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL) - { return true; } - static bool EndDrawingOnTop() { return true; } - + wxScreenDCImpl( wxScreenDC *owner ); + ~wxScreenDCImpl(); protected: virtual void DoGetSize(int *width, int *height) const; @@ -46,7 +29,7 @@ protected: void Init(); private: - DECLARE_ABSTRACT_CLASS(wxGTKScreenImplDC) + DECLARE_ABSTRACT_CLASS(wxScreenDCImpl) }; #endif // __GTKDCSCREENH__