X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6b9496a96223cc5164e5785485d7d622fd9b5e6..0b165ed6b209ea9f5ddd7bfb1813c6f0718a9a3d:/include/wx/generic/printps.h

diff --git a/include/wx/generic/printps.h b/include/wx/generic/printps.h
index f02bd11d10..5934eaf40a 100644
--- a/include/wx/generic/printps.h
+++ b/include/wx/generic/printps.h
@@ -19,6 +19,8 @@
 
 #include "wx/prntbase.h"
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 // ----------------------------------------------------------------------------
 // Represents the printer: manages printing a wxPrintout object
 // ----------------------------------------------------------------------------
@@ -62,5 +64,7 @@ private:
     void Init(wxPrintout *printout, wxPrintout *printoutForPrinting);
 };
 
+#endif
+
 #endif
 // __PRINTPSH__