X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a53b9b8fe6fc88f243f777db03bafa3a9651701..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/cocoa/dcscreen.cpp?ds=sidebyside diff --git a/src/cocoa/dcscreen.cpp b/src/cocoa/dcscreen.cpp index 50e5fa00f2..bc18675ae0 100644 --- a/src/cocoa/dcscreen.cpp +++ b/src/cocoa/dcscreen.cpp @@ -1,36 +1,38 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/cocoa/dcscreen.cpp -// Purpose: wxScreenDC class +// Purpose: wxScreenDCImpl class // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: // Copyright: (c) 2002 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + +#include "wx/cocoa/dcscreen.h" + #ifndef WX_PRECOMP - #include "wx/dcscreen.h" #endif //WX_PRECOMP //----------------------------------------------------------------------------- // wxMemoryDC //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxScreenDC,wxDC) +IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl,wxCocoaDCImpl) -wxScreenDC::wxScreenDC(void) +wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner) +: wxCocoaDCImpl(owner) { - m_ok = false; -}; + m_ok = false; +} -wxScreenDC::wxScreenDC( wxDC *WXUNUSED(dc) ) +wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner, wxDC *WXUNUSED(dc) ) +: wxCocoaDCImpl(owner) { - m_ok = false; -}; + m_ok = false; +} -wxScreenDC::~wxScreenDC(void) +wxScreenDCImpl::~wxScreenDCImpl(void) { } -