]> git.saurik.com Git - wxWidgets.git/blame - include/wx/print.h
Do not #undef wxNEED_PRINTF_CONVERSION if wxVsnprintf_ has not been defined
[wxWidgets.git] / include / wx / print.h
CommitLineData
34138703
JS
1#ifndef _WX_PRINT_H_BASE_
2#define _WX_PRINT_H_BASE_
c801d85f 3
12bdd77c 4#if defined(__WXMSW__) && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
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
30#endif
31#ifndef wxPrintPreview
32#define wxPrintPreview wxPostScriptPrintPreview
33#endif
34
35#endif
36
37
38#endif
34138703 39 // _WX_PRINT_H_BASE_