| 1 | #ifndef _WX_PRINT_H_BASE_ |
| 2 | #define _WX_PRINT_H_BASE_ |
| 3 | |
| 4 | #if defined(__WXMSW__) |
| 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 | #define sm_classwxPrinter sm_classwxPostScriptPrinter |
| 31 | #endif |
| 32 | #ifndef wxPrintPreview |
| 33 | #define wxPrintPreview wxPostScriptPrintPreview |
| 34 | #define sm_classwxPrintPreview sm_classwxPostScriptPrintPreview |
| 35 | #endif |
| 36 | |
| 37 | #endif |
| 38 | |
| 39 | |
| 40 | #endif |
| 41 | // _WX_PRINT_H_BASE_ |