X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58a33cb4e6e2de9d6ea6da16b52e53d840797059..324dbfec39cc030027830a100239cb9a4e6624e8:/include/wx/generic/prntdlgg.h diff --git a/include/wx/generic/prntdlgg.h b/include/wx/generic/prntdlgg.h index 24f69980e5..da5f97f15c 100644 --- a/include/wx/generic/prntdlgg.h +++ b/include/wx/generic/prntdlgg.h @@ -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__