]> git.saurik.com Git - wxWidgets.git/blob - include/wx/stubs/printdlg.h
Added empty Raise() and Lower() methods for compatibilty.
[wxWidgets.git] / include / wx / stubs / printdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: printdlg.h
3 // Purpose: wxPrintDialog, wxPageSetupDialog classes.
4 // Use generic, PostScript version if no
5 // platform-specific implementation.
6 // Author: AUTHOR
7 // Modified by:
8 // Created: ??/??/98
9 // RCS-ID: $Id$
10 // Copyright: (c) AUTHOR
11 // Licence: wxWindows licence
12 /////////////////////////////////////////////////////////////////////////////
13
14 #ifndef _WX_PRINTDLG_H_
15 #define _WX_PRINTDLG_H_
16
17 #ifdef __GNUG__
18 #pragma interface "printdlg.h"
19 #endif
20
21 #include "wx/dialog.h"
22 #include "wx/cmndata.h"
23
24 /*
25 * wxPrinterDialog
26 * The common dialog for printing.
27 */
28
29 class WXDLLEXPORT wxDC;
30 class WXDLLEXPORT wxPrintDialog: public wxDialog
31 {
32 DECLARE_DYNAMIC_CLASS(wxPrintDialog)
33
34 public:
35 wxPrintDialog();
36 wxPrintDialog(wxWindow *parent, wxPrintData* data = NULL);
37 ~wxPrintDialog();
38
39 bool Create(wxWindow *parent, wxPrintData* data = NULL);
40 virtual int ShowModal();
41
42 inline wxPrintData& GetPrintData() { return m_printData; }
43 virtual wxDC *GetPrintDC();
44
45 private:
46 wxPrintData m_printData;
47 wxDC* m_printerDC;
48 bool m_destroyDC;
49 char* m_deviceName;
50 char* m_driverName;
51 char* m_portName;
52 wxWindow* m_dialogParent;
53 };
54
55 class WXDLLEXPORT wxPageSetupDialog: public wxDialog
56 {
57 DECLARE_DYNAMIC_CLASS(wxPageSetupDialog)
58
59 private:
60 wxPageSetupData m_pageSetupData;
61 wxWindow* m_dialogParent;
62 public:
63 wxPageSetupDialog();
64 wxPageSetupDialog(wxWindow *parent, wxPageSetupData *data = NULL);
65 ~wxPageSetupDialog();
66
67 bool Create(wxWindow *parent, wxPageSetupData *data = NULL);
68 virtual int ShowModal();
69
70 inline wxPageSetupData& GetPageSetupData() { return m_pageSetupData; }
71 };
72
73 #endif
74 // _WX_PRINTDLG_H_