X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..b4626104e5a68430c5c7c4f3a0b79425be9945e8:/include/wx/mac/carbon/dcprint.h diff --git a/include/wx/mac/carbon/dcprint.h b/include/wx/mac/carbon/dcprint.h index 345be35fb9..2165191bfd 100644 --- a/include/wx/mac/carbon/dcprint.h +++ b/include/wx/mac/carbon/dcprint.h @@ -6,7 +6,7 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DCPRINT_H_ @@ -24,9 +24,9 @@ class wxNativePrinterDC ; class WXDLLEXPORT wxPrinterDC: public wxDC { public: +#if wxUSE_PRINTING_ARCHITECTURE DECLARE_CLASS(wxPrinterDC) -#if wxUSE_PRINTING_ARCHITECTURE // Create a printer DC wxPrinterDC(const wxPrintData& printdata ); ~wxPrinterDC(); @@ -37,7 +37,9 @@ class WXDLLEXPORT wxPrinterDC: public wxDC virtual void EndPage(void) ; wxPrintData& GetPrintData() { return m_printData; } virtual void DoGetSize( int *width, int *height ) const; - +#if wxMAC_USE_CORE_GRAPHICS + void MacSetCGContext( void * cg ) ; +#endif protected: wxPrintData m_printData ; wxNativePrinterDC* m_nativePrinterDC ;