X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..6e264973e636cc41915d166cb7eddf2a7e72cf9b:/include/wx/mac/dcprint.h diff --git a/include/wx/mac/dcprint.h b/include/wx/mac/dcprint.h index cd3722edee..b06714920c 100644 --- a/include/wx/mac/dcprint.h +++ b/include/wx/mac/dcprint.h @@ -35,11 +35,15 @@ 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 };