]> git.saurik.com Git - wxWidgets.git/blob - src/cocoa/dcscreen.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / cocoa / dcscreen.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/cocoa/dcscreen.cpp
3 // Purpose: wxScreenDCImpl class
4 // Author: David Elliott
5 // Modified by:
6 // Created: 2003/03/16
7 // RCS-ID: $Id$
8 // Copyright: (c) 2002 David Elliott
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #include "wx/wxprec.h"
13
14 #include "wx/cocoa/dcscreen.h"
15
16 #ifndef WX_PRECOMP
17 #endif //WX_PRECOMP
18
19 //-----------------------------------------------------------------------------
20 // wxMemoryDC
21 //-----------------------------------------------------------------------------
22
23 IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl,wxCocoaDCImpl)
24
25 wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner)
26 : wxCocoaDCImpl(owner)
27 {
28 m_ok = false;
29 }
30
31 wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner, wxDC *WXUNUSED(dc) )
32 : wxCocoaDCImpl(owner)
33 {
34 m_ok = false;
35 }
36
37 wxScreenDCImpl::~wxScreenDCImpl(void)
38 {
39 }