X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12bdd77c85888f29ed94e23ba28d31d99a522598..d61f7200331a1cd1a3b2353292e6801511ccbc5d:/include/wx/print.h diff --git a/include/wx/print.h b/include/wx/print.h index e154348937..a13dffcad2 100644 --- a/include/wx/print.h +++ b/include/wx/print.h @@ -1,38 +1,17 @@ #ifndef _WX_PRINT_H_BASE_ #define _WX_PRINT_H_BASE_ -#if defined(__WXMSW__) && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW) -#include "wx/msw/printwin.h" +#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) -#ifndef wxPrinter -#define wxPrinter wxWindowsPrinter -#endif -#ifndef wxPrintPreview -#define wxPrintPreview wxWindowsPrintPreview -#endif +#include "wx/msw/printwin.h" #elif defined(__WXMAC__) #include "wx/mac/printmac.h" -#ifndef wxPrinter -#define wxPrinter wxMacPrinter -#endif -#ifndef wxPrintPreview -#define wxPrintPreview wxMacPrintPreview -#endif - #else -#include "wx/generic/printps.h" -#ifndef wxPrinter -#define wxPrinter wxPostScriptPrinter -#define sm_classwxPrinter sm_classwxPostScriptPrinter -#endif -#ifndef wxPrintPreview -#define wxPrintPreview wxPostScriptPrintPreview -#define sm_classwxPrintPreview sm_classwxPostScriptPrintPreview -#endif +#include "wx/generic/printps.h" #endif