X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b781a6729859abc77e6ca5b1f81cbaad974a78f..4087064a382ca938e9b7889a9aafd6340b54d6c5:/include/wx/mac/dcprint.h diff --git a/include/wx/mac/dcprint.h b/include/wx/mac/dcprint.h index e2e11819a3..b06714920c 100644 --- a/include/wx/mac/dcprint.h +++ b/include/wx/mac/dcprint.h @@ -24,6 +24,7 @@ class WXDLLEXPORT wxPrinterDC: public wxDC public: DECLARE_CLASS(wxPrinterDC) +#if wxUSE_PRINTING_ARCHITECTURE // Create a printer DC wxPrinterDC(const wxPrintData& printdata ); ~wxPrinterDC(); @@ -34,11 +35,16 @@ class WXDLLEXPORT wxPrinterDC: public wxDC virtual void EndPage(void) ; protected : #if TARGET_CARBON - PMPrintContext m_macPrintPort ; + #if PM_USE_SESSION_APIS + PMPrintSession m_macPrintSession; + #else + PMPrintContext m_macPrintPort ; + #endif #else - TPPrPort m_macPrintPort ; + TPPrPort m_macPrintPort ; #endif - wxPrintData m_printData ; + wxPrintData m_printData ; +#endif // wxUSE_PRINTING_ARCHITECTURE }; #endif