X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7e97a594def45262e1a46a4b4089d3d9305c311..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/cocoa/dc.h diff --git a/include/wx/cocoa/dc.h b/include/wx/cocoa/dc.h index 7fcc9be39c..2dbe2e32a1 100644 --- a/include/wx/cocoa/dc.h +++ b/include/wx/cocoa/dc.h @@ -14,22 +14,24 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSAffineTransform); -class WXDLLIMPEXP_FWD_CORE wxDC; -WX_DECLARE_LIST(wxDC, wxCocoaDCStack); +#include "wx/dc.h" + +class WXDLLIMPEXP_FWD_CORE wxCocoaDCImpl; +WX_DECLARE_LIST(wxCocoaDCImpl, wxCocoaDCStack); //========================================================================= // wxDC //========================================================================= -class WXDLLEXPORT wxDC: public wxDCBase +class WXDLLIMPEXP_CORE wxCocoaDCImpl: public wxDCImpl { - DECLARE_DYNAMIC_CLASS(wxDC) - DECLARE_NO_COPY_CLASS(wxDC) + DECLARE_ABSTRACT_CLASS(wxCocoaDCImpl) + DECLARE_NO_COPY_CLASS(wxCocoaDCImpl) //------------------------------------------------------------------------- // Initialization //------------------------------------------------------------------------- public: - wxDC(); - virtual ~wxDC(); + wxCocoaDCImpl(wxDC *owner); + virtual ~wxCocoaDCImpl(); //------------------------------------------------------------------------- // wxCocoa specifics