1998-08-15 00:23:28 +00:00
|
|
|
#ifndef _WX_PRINT_H_BASE_
|
|
|
|
#define _WX_PRINT_H_BASE_
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2002-12-04 14:11:26 +00:00
|
|
|
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
|
1998-05-20 14:01:55 +00:00
|
|
|
#include "wx/msw/printwin.h"
|
|
|
|
|
|
|
|
#ifndef wxPrinter
|
|
|
|
#define wxPrinter wxWindowsPrinter
|
|
|
|
#endif
|
|
|
|
#ifndef wxPrintPreview
|
|
|
|
#define wxPrintPreview wxWindowsPrintPreview
|
|
|
|
#endif
|
|
|
|
|
1999-11-09 15:24:52 +00:00
|
|
|
#elif defined(__WXMAC__)
|
|
|
|
|
|
|
|
#include "wx/mac/printmac.h"
|
|
|
|
|
|
|
|
#ifndef wxPrinter
|
|
|
|
#define wxPrinter wxMacPrinter
|
|
|
|
#endif
|
|
|
|
#ifndef wxPrintPreview
|
|
|
|
#define wxPrintPreview wxMacPrintPreview
|
|
|
|
#endif
|
|
|
|
|
1998-05-20 14:01:55 +00:00
|
|
|
#else
|
|
|
|
#include "wx/generic/printps.h"
|
|
|
|
|
|
|
|
#ifndef wxPrinter
|
|
|
|
#define wxPrinter wxPostScriptPrinter
|
1998-10-07 11:04:27 +00:00
|
|
|
#define sm_classwxPrinter sm_classwxPostScriptPrinter
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
|
|
|
#ifndef wxPrintPreview
|
|
|
|
#define wxPrintPreview wxPostScriptPrintPreview
|
1998-10-07 11:04:27 +00:00
|
|
|
#define sm_classwxPrintPreview sm_classwxPostScriptPrintPreview
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
1998-08-15 00:23:28 +00:00
|
|
|
// _WX_PRINT_H_BASE_
|