]> git.saurik.com Git - wxWidgets.git/blob - include/wx/print.h
compilation fixes for !wxUSE_POSTSCRIPT
[wxWidgets.git] / include / wx / print.h
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 #else
15 #include "wx/generic/printps.h"
16
17 #ifndef wxPrinter
18 #define wxPrinter wxPostScriptPrinter
19 #define sm_classwxPrinter sm_classwxPostScriptPrinter
20 #endif
21 #ifndef wxPrintPreview
22 #define wxPrintPreview wxPostScriptPrintPreview
23 #define sm_classwxPrintPreview sm_classwxPostScriptPrintPreview
24 #endif
25
26 #endif
27
28
29 #endif
30 // _WX_PRINT_H_BASE_