]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/printps.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / generic / printps.h
index f02bd11d104034c8d8cf320a05918f4dca5b67b6..5934eaf40a8dfbb8dd6a5ed850604998950a65bc 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "wx/prntbase.h"
 
 
 #include "wx/prntbase.h"
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 // ----------------------------------------------------------------------------
 // Represents the printer: manages printing a wxPrintout object
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // Represents the printer: manages printing a wxPrintout object
 // ----------------------------------------------------------------------------
@@ -62,5 +64,7 @@ private:
     void Init(wxPrintout *printout, wxPrintout *printoutForPrinting);
 };
 
     void Init(wxPrintout *printout, wxPrintout *printoutForPrinting);
 };
 
+#endif
+
 #endif
 // __PRINTPSH__
 #endif
 // __PRINTPSH__