X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11dbb4bfab8f7441e87b34cd094ac6e69438b50a..dee851ec9f34b3c251265189d3718c68b052c9cc:/src/cocoa/dcscreen.cpp?ds=sidebyside diff --git a/src/cocoa/dcscreen.cpp b/src/cocoa/dcscreen.cpp index d809bb7ee5..44b3aa093f 100644 --- a/src/cocoa/dcscreen.cpp +++ b/src/cocoa/dcscreen.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/cocoa/dcscreen.cpp -// Purpose: wxScreenDC class +// Purpose: wxScreenDCImpl class // Author: David Elliott // Modified by: // Created: 2003/03/16 @@ -11,7 +11,7 @@ #include "wx/wxprec.h" -#include "wx/dcscreen.h" +#include "wx/cocoa/dcscreen.h" #ifndef WX_PRECOMP #endif //WX_PRECOMP @@ -20,18 +20,20 @@ // wxMemoryDC //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxScreenDC,wxDC) +IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl,wxCocoaDCImpl) -wxScreenDC::wxScreenDC(void) +wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner) +: wxCocoaDCImpl(owner) { m_ok = false; } -wxScreenDC::wxScreenDC( wxDC *WXUNUSED(dc) ) +wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner, wxDC *WXUNUSED(dc) ) +: wxCocoaDCImpl(owner) { m_ok = false; } -wxScreenDC::~wxScreenDC(void) +wxScreenDCImpl::~wxScreenDCImpl(void) { }