X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..158b668823e14d9b42c9e7fe0281d35924192c68:/include/wx/mac/dcprint.h diff --git a/include/wx/mac/dcprint.h b/include/wx/mac/dcprint.h index 07f876fc85..cc581688d3 100644 --- a/include/wx/mac/dcprint.h +++ b/include/wx/mac/dcprint.h @@ -12,7 +12,7 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dcprint.h" #endif @@ -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(); @@ -32,9 +33,10 @@ class WXDLLEXPORT wxPrinterDC: public wxDC virtual void EndDoc(void) ; virtual void StartPage(void) ; virtual void EndPage(void) ; - protected : - TPPrPort m_macPrintPort ; - wxPrintData m_printData ; + protected: + void* m_macPrintSessionPort ; + wxPrintData m_printData ; +#endif // wxUSE_PRINTING_ARCHITECTURE }; #endif