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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
18 #pragma interface "printdlg.h"
21 #include "wx/dialog.h"
22 #include "wx/cmndata.h"
23 #include "wx/printdlg.h"
24 #include "wx/prntbase.h"
28 * The Mac dialog for printing
31 class WXDLLEXPORT wxDC
;
32 class WXDLLEXPORT wxMacPrintDialog
: public wxPrintDialogBase
36 wxMacPrintDialog(wxWindow
*parent
, wxPrintDialogData
* data
= NULL
);
37 wxMacPrintDialog(wxWindow
*parent
, wxPrintData
* data
);
40 bool Create(wxWindow
*parent
, wxPrintDialogData
* data
= NULL
);
41 virtual int ShowModal();
43 virtual wxPrintDialogData
& GetPrintDialogData() { return m_printDialogData
; }
44 virtual wxPrintData
& GetPrintData() { return m_printDialogData
.GetPrintData(); }
45 virtual wxDC
*GetPrintDC();
48 wxPrintDialogData m_printDialogData
;
51 wxWindow
* m_dialogParent
;
54 DECLARE_DYNAMIC_CLASS(wxPrintDialog
)
58 * wxMacPageSetupDialog
59 * The Mac page setup dialog
62 class WXDLLEXPORT wxMacPageSetupDialog
: public wxPageSetupDialogBase
65 wxMacPageSetupDialog(wxWindow
*parent
, wxPageSetupDialogData
*data
= NULL
);
66 ~wxMacPageSetupDialog();
68 virtual wxPageSetupData
& GetPageSetupDialogData();
70 bool Create(wxWindow
*parent
, wxPageSetupDialogData
*data
= NULL
);
71 virtual int ShowModal();
74 wxPageSetupDialogData m_pageSetupData
;
75 wxWindow
* m_dialogParent
;
78 DECLARE_DYNAMIC_CLASS_NO_COPY(wxMacPageSetupDialog
)