X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..9802983f157c32177e92e8c0f6b1ce44aec0ebca:/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 ;