X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..60acae65faac4b98254c76437d4bb9ac55f5d759:/include/wx/mac/carbon/dcprint.h diff --git a/include/wx/mac/carbon/dcprint.h b/include/wx/mac/carbon/dcprint.h index 0e2b5bcf0d..2165191bfd 100644 --- a/include/wx/mac/carbon/dcprint.h +++ b/include/wx/mac/carbon/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 ;