]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/printps.h
fix for cygwin warning in winsock.h about sys/types.h from Dimitri
[wxWidgets.git] / include / wx / generic / printps.h
index f02bd11d104034c8d8cf320a05918f4dca5b67b6..0921b4b85f5b91f86157917598c0c9bdbbbf7b78 100644 (file)
 #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__