]> git.saurik.com Git - wxWidgets.git/blob - include/wx/print.h
fix darwin defines
[wxWidgets.git] / include / wx / print.h
1 #ifndef _WX_PRINT_H_BASE_
2 #define _WX_PRINT_H_BASE_
3
4 #if defined(__WXMSW__) && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
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
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
25 #else
26 #include "wx/generic/printps.h"
27
28 #ifndef wxPrinter
29 #define wxPrinter wxPostScriptPrinter
30 #endif
31 #ifndef wxPrintPreview
32 #define wxPrintPreview wxPostScriptPrintPreview
33 #endif
34
35 #endif
36
37
38 #endif
39 // _WX_PRINT_H_BASE_