]> git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/dcscreen.h
Convert wxFSW_EVENT_{WARNING,ERROR} to string correctly.
[wxWidgets.git] / include / wx / cocoa / dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/dcscreen.h
3 // Purpose: wxScreenDCImpl class
4 // Author: David Elliott
5 // Modified by:
6 // Created: 2003/03/16
7 // RCS-ID: $Id$
8 // Copyright: (c) 2003 David Elliott
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __WX_COCOA_DCSCREEN_H__
13 #define __WX_COCOA_DCSCREEN_H__
14
15 #include "wx/dcscreen.h"
16 #include "wx/cocoa/dc.h"
17
18 class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxCocoaDCImpl
19 {
20 DECLARE_DYNAMIC_CLASS(wxScreenDCImpl)
21 public:
22 wxScreenDCImpl(wxScreenDC *owner);
23 wxScreenDCImpl(wxScreenDC *owner, wxDC *dc ); // Create compatible DC
24 virtual ~wxScreenDCImpl(void);
25
26 // Compatibility with X's requirements for drawing on top of all windows
27 static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }
28 static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return true; }
29 static bool EndDrawingOnTop() { return true; }
30 };
31
32 #endif // __WX_COCOA_DCSCREEN_H__