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