]> git.saurik.com Git - wxWidgets.git/blame - include/wx/print.h
Added reparenting helper classes to help apps to grab the windows
[wxWidgets.git] / include / wx / print.h
CommitLineData
34138703
JS
1#ifndef _WX_PRINT_H_BASE_
2#define _WX_PRINT_H_BASE_
c801d85f 3
2049ba38 4#if defined(__WXMSW__)
c801d85f
KB
5#include "wx/msw/printwin.h"
6
7#ifndef wxPrinter
8#define wxPrinter wxWindowsPrinter
9#endif
10#ifndef wxPrintPreview
11#define wxPrintPreview wxWindowsPrintPreview
12#endif
13
e7549107
SC
14#elif defined(__WXMAC__)
15
16#include "wx/mac/printmac.h"
17
18#ifndef wxPrinter
19#define wxPrinter wxMacPrinter
20#endif
21#ifndef wxPrintPreview
22#define wxPrintPreview wxMacPrintPreview
23#endif
24
c801d85f
KB
25#else
26#include "wx/generic/printps.h"
27
28#ifndef wxPrinter
29#define wxPrinter wxPostScriptPrinter
42ff6409 30#define sm_classwxPrinter sm_classwxPostScriptPrinter
c801d85f
KB
31#endif
32#ifndef wxPrintPreview
33#define wxPrintPreview wxPostScriptPrintPreview
42ff6409 34#define sm_classwxPrintPreview sm_classwxPostScriptPrintPreview
c801d85f
KB
35#endif
36
37#endif
38
39
40#endif
34138703 41 // _WX_PRINT_H_BASE_