#include "wx/dialog.h"
#include "wx/dc.h"
#include "wx/cmndata.h"
-#include "wx/postscrp.h"
+#include "wx/dialog.h"
+
+#if wxUSE_POSTSCRIPT
+#include "wx/dcps.h"
+#endif
class WXDLLEXPORT wxTextCtrl;
class WXDLLEXPORT wxButton;
class WXDLLEXPORT wxChoice;
class WXDLLEXPORT wxStaticText;
class WXDLLEXPORT wxRadioBox;
+class WXDLLEXPORT wxPrintSetupData;
/*
* Simulated Print and Print Setup dialogs
wxCheckBox *colourCheckBox;
wxChoice *paperTypeChoice;
+#if wxUSE_POSTSCRIPT
wxPrintSetupData printData;
+ inline wxPrintSetupData& GetPrintData(void) { return printData; }
+#endif
+
wxGenericPrintSetupDialog(wxWindow *parent, wxPrintSetupData* data);
~wxGenericPrintSetupDialog(void);
virtual bool TransferDataToWindow(void);
wxChoice *CreatePaperTypeChoice(int* x, int* y);
- inline wxPrintSetupData& GetPrintData(void) { return printData; }
};
#define wxPRINTID_LEFTMARGIN 30
wxPageSetupData pageData;
- wxGenericPageSetupDialog(wxWindow *parent, wxPageSetupData* data = NULL);
+ wxGenericPageSetupDialog(wxWindow *parent, wxPageSetupData* data = (wxPageSetupData*) NULL);
~wxGenericPageSetupDialog(void);
virtual bool TransferDataFromWindow(void);