dcscreen.h 854 B

1234567891011121314151617181920212223242526272829303132333435
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/dcscreen.h
  3. // Purpose: wxScreenDC base header
  4. // Author: Julian Smart
  5. // Modified by:
  6. // Created:
  7. // Copyright: (c) Julian Smart
  8. // Licence: wxWindows Licence
  9. /////////////////////////////////////////////////////////////////////////////
  10. #ifndef _WX_DCSCREEN_H_BASE_
  11. #define _WX_DCSCREEN_H_BASE_
  12. #include "wx/defs.h"
  13. #include "wx/dc.h"
  14. class WXDLLIMPEXP_CORE wxScreenDC : public wxDC
  15. {
  16. public:
  17. wxScreenDC();
  18. static bool StartDrawingOnTop(wxWindow * WXUNUSED(window))
  19. { return true; }
  20. static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL)
  21. { return true; }
  22. static bool EndDrawingOnTop()
  23. { return true; }
  24. private:
  25. DECLARE_DYNAMIC_CLASS(wxScreenDC)
  26. };
  27. #endif
  28. // _WX_DCSCREEN_H_BASE_