X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bd568fa44a864a4110b13e8e0d08f923e5fb4ff..5c7b506103cfc078a821860766e31c47d595e07f:/src/mac/carbon/dcscreen.cpp?ds=inline diff --git a/src/mac/carbon/dcscreen.cpp b/src/mac/carbon/dcscreen.cpp index ba827defdd..ad8ac0be4a 100644 --- a/src/mac/carbon/dcscreen.cpp +++ b/src/mac/carbon/dcscreen.cpp @@ -12,18 +12,20 @@ #include "wx/wxprec.h" #include "wx/dcscreen.h" +#include "wx/mac/carbon/dcscreen.h" #include "wx/mac/uma.h" #include "wx/graphics.h" -IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC) +IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxWindowDCImpl) // TODO : for the Screenshot use case, which doesn't work in Quartz // we should do a GetAsBitmap using something like // http://www.cocoabuilder.com/archive/message/cocoa/2005/8/13/144256 // Create a DC representing the whole screen -wxScreenDC::wxScreenDC() +wxScreenDCImpl::wxScreenDCImpl( wxDC *owner ) : + wxWindowDCImpl( owner ) { #ifdef __LP64__ m_graphicContext = NULL; @@ -46,7 +48,7 @@ wxScreenDC::wxScreenDC() #endif } -wxScreenDC::~wxScreenDC() +wxScreenDCImpl::~wxScreenDCImpl() { delete m_graphicContext; m_graphicContext = NULL;