1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxPrintDialog, wxPageSetupDialog classes
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_PRINTDLG_H_
13 #define _WX_PRINTDLG_H_
16 #pragma interface "printdlg.h"
19 #include "wx/dialog.h"
20 #include "wx/cmndata.h"
24 * The common dialog for printing.
27 class WXDLLEXPORT wxDC
;
28 class WXDLLEXPORT wxPrintDialog
: public wxDialog
30 DECLARE_DYNAMIC_CLASS(wxPrintDialog
)
34 wxPrintDialog(wxWindow
*parent
, wxPrintData
* data
= NULL
);
37 bool Create(wxWindow
*parent
, wxPrintData
* data
= NULL
);
38 virtual int ShowModal();
40 inline wxPrintData
& GetPrintData() { return m_printData
; }
41 virtual wxDC
*GetPrintDC();
44 wxPrintData m_printData
;
50 wxWindow
* m_dialogParent
;
53 class WXDLLEXPORT wxPageSetupDialog
: public wxDialog
55 DECLARE_DYNAMIC_CLASS(wxPageSetupDialog
)
58 wxPageSetupData m_pageSetupData
;
59 wxWindow
* m_dialogParent
;
62 wxPageSetupDialog(wxWindow
*parent
, wxPageSetupData
*data
= NULL
);
65 bool Create(wxWindow
*parent
, wxPageSetupData
*data
= NULL
);
66 virtual int ShowModal();
68 inline wxPageSetupData
& GetPageSetupData() { return m_pageSetupData
; }