-#define wxPRINTID_LEFTMARGIN 30
-#define wxPRINTID_RIGHTMARGIN 31
-#define wxPRINTID_TOPMARGIN 32
-#define wxPRINTID_BOTTOMMARGIN 33
+class WXDLLEXPORT wxGenericPrintSetupDialog : public wxDialog
+{
+public:
+ // There are no configuration options for the dialog, so we
+ // just pass the wxPrintData object (no wxPrintSetupDialogData class needed)
+ wxGenericPrintSetupDialog(wxWindow *parent, wxPrintData* data);
+ wxGenericPrintSetupDialog(wxWindow *parent, wxPrintSetupData* data);
+ virtual ~wxGenericPrintSetupDialog();
+
+ void Init(wxPrintData* data);
+
+ virtual bool TransferDataFromWindow();
+ virtual bool TransferDataToWindow();
+
+ wxComboBox *CreatePaperTypeChoice(int* x, int* y);
+
+public:
+ wxRadioBox* m_orientationRadioBox;
+ wxTextCtrl* m_printerCommandText;
+ wxTextCtrl* m_printerOptionsText;
+ wxCheckBox* m_colourCheckBox;
+ wxComboBox* m_paperTypeChoice;
+
+#if wxUSE_POSTSCRIPT
+ wxPrintData m_printData;
+ wxPrintData& GetPrintData() { return m_printData; }
+#endif // wxUSE_POSTSCRIPT
+
+private:
+ DECLARE_CLASS(wxGenericPrintSetupDialog)
+};
+#endif
+ // wxUSE_POSTSCRIPT