1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxPrintDialog, wxPageSetupDialog classes.
4 // Use generic, PostScript version if no
5 // platform-specific implementation.
10 // Copyright: (c) AUTHOR
11 // Licence: wxWindows licence
12 /////////////////////////////////////////////////////////////////////////////
14 #ifndef _WX_PRINTDLG_H_
15 #define _WX_PRINTDLG_H_
18 #pragma interface "printdlg.h"
21 #include "wx/dialog.h"
22 #include "wx/cmndata.h"
26 * The common dialog for printing.
29 class WXDLLEXPORT wxDC
;
30 class WXDLLEXPORT wxPrintDialog
: public wxDialog
32 DECLARE_DYNAMIC_CLASS(wxPrintDialog
)
36 wxPrintDialog(wxWindow
*parent
, wxPrintData
* data
= NULL
);
39 bool Create(wxWindow
*parent
, wxPrintData
* data
= NULL
);
40 virtual int ShowModal();
42 inline wxPrintData
& GetPrintData() { return m_printData
; }
43 virtual wxDC
*GetPrintDC();
46 wxPrintData m_printData
;
48 wxWindow
* m_dialogParent
;
51 class WXDLLEXPORT wxPageSetupDialog
: public wxDialog
53 DECLARE_DYNAMIC_CLASS(wxPageSetupDialog
)
56 wxPageSetupData m_pageSetupData
;
57 wxWindow
* m_dialogParent
;
60 wxPageSetupDialog(wxWindow
*parent
, wxPageSetupData
*data
= NULL
);
63 bool Create(wxWindow
*parent
, wxPageSetupData
*data
= NULL
);
64 virtual int ShowModal();
66 inline wxPageSetupData
& GetPageSetupData() { return m_pageSetupData
; }