1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxPrintDialog, wxPageSetupDialog classes.
4 // Use generic, PostScript version if no
5 // platform-specific implementation.
6 // Author: Stefan Csomor
10 // Copyright: (c) Stefan Csomor
11 // Licence: wxWindows licence
12 /////////////////////////////////////////////////////////////////////////////
14 #ifndef _WX_PRINTDLG_H_
15 #define _WX_PRINTDLG_H_
17 #include "wx/dialog.h"
18 #include "wx/cmndata.h"
19 #include "wx/printdlg.h"
20 #include "wx/prntbase.h"
24 * The Mac dialog for printing
27 class WXDLLEXPORT wxDC
;
28 class WXDLLEXPORT wxMacPrintDialog
: public wxPrintDialogBase
32 wxMacPrintDialog(wxWindow
*parent
, wxPrintDialogData
* data
= NULL
);
33 wxMacPrintDialog(wxWindow
*parent
, wxPrintData
* data
);
36 bool Create(wxWindow
*parent
, wxPrintDialogData
* data
= NULL
);
37 virtual int ShowModal();
39 virtual wxPrintDialogData
& GetPrintDialogData() { return m_printDialogData
; }
40 virtual wxPrintData
& GetPrintData() { return m_printDialogData
.GetPrintData(); }
41 virtual wxDC
*GetPrintDC();
44 wxPrintDialogData m_printDialogData
;
47 wxWindow
* m_dialogParent
;
50 DECLARE_DYNAMIC_CLASS(wxPrintDialog
)
54 * wxMacPageSetupDialog
55 * The Mac page setup dialog
58 class WXDLLEXPORT wxMacPageSetupDialog
: public wxPageSetupDialogBase
61 wxMacPageSetupDialog(wxWindow
*parent
, wxPageSetupDialogData
*data
= NULL
);
62 ~wxMacPageSetupDialog();
64 virtual wxPageSetupData
& GetPageSetupDialogData();
66 bool Create(wxWindow
*parent
, wxPageSetupDialogData
*data
= NULL
);
67 virtual int ShowModal();
70 wxPageSetupDialogData m_pageSetupData
;
71 wxWindow
* m_dialogParent
;
74 DECLARE_DYNAMIC_CLASS_NO_COPY(wxMacPageSetupDialog
)