]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/prntdlgg.h
Compile fixes.
[wxWidgets.git] / include / wx / generic / prntdlgg.h
index 24f69980e5ccc17d26f9215d8f4ee3a9904b26cc..da5f97f15c090a5b609a63a14508a2ec050253db 100644 (file)
@@ -18,6 +18,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #include "wx/dialog.h"
 #include "wx/dialog.h"
 
@@ -72,6 +75,7 @@ enum
 // Windows using PostScript print/preview)
 // ----------------------------------------------------------------------------
 
+#if wxUSE_POSTSCRIPT
 class WXDLLEXPORT wxGenericPrintDialog : public wxDialog
 {
     DECLARE_DYNAMIC_CLASS(wxGenericPrintDialog)
@@ -150,6 +154,8 @@ public:
     wxPrintData&        GetPrintData() { return m_printData; }
 #endif // wxUSE_POSTSCRIPT
 };
+#endif
+    // wxUSE_POSTSCRIPT
 
 class WXDLLEXPORT wxGenericPageSetupDialog : public wxDialog
 {
@@ -184,5 +190,7 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
+#endif
+
 #endif
 // __PRINTDLGH_G__