X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6b9496a96223cc5164e5785485d7d622fd9b5e6..6ba7c06eeeda47b88783025428ca0f290e3bf236:/include/wx/generic/printps.h diff --git a/include/wx/generic/printps.h b/include/wx/generic/printps.h index f02bd11d10..0921b4b85f 100644 --- a/include/wx/generic/printps.h +++ b/include/wx/generic/printps.h @@ -13,12 +13,14 @@ #ifndef __PRINTPSH__ #define __PRINTPSH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "printps.h" #endif #include "wx/prntbase.h" +#if wxUSE_PRINTING_ARCHITECTURE && wxUSE_POSTSCRIPT + // ---------------------------------------------------------------------------- // Represents the printer: manages printing a wxPrintout object // ---------------------------------------------------------------------------- @@ -62,5 +64,7 @@ private: void Init(wxPrintout *printout, wxPrintout *printoutForPrinting); }; +#endif + #endif // __PRINTPSH__