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