]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/prntdlgg.h
* Moved ReadLine()/WriteLine() to wxIn/OutputStream
[wxWidgets.git] / include / wx / generic / prntdlgg.h
index 9b86b32965e0ca1909b82d4a71ca1b82b95c68dc..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)
@@ -101,15 +105,15 @@ public:
     wxDC *GetPrintDC();
 
 public:
-    wxStaticText*       m_printerMessage;
+//    wxStaticText*       m_printerMessage;
     wxButton*           m_setupButton;
-    wxButton*           m_helpButton;
+//    wxButton*           m_helpButton;
     wxRadioBox*         m_rangeRadioBox;
     wxTextCtrl*         m_fromText;
     wxTextCtrl*         m_toText;
     wxTextCtrl*         m_noCopiesText;
     wxCheckBox*         m_printToFileCheckBox;
-    wxCheckBox*         m_collateCopiesCheckBox;
+//    wxCheckBox*         m_collateCopiesCheckBox;
 
     wxPrintDialogData   m_printDialogData;
 
@@ -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__