X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..9fe52545f5b4a21e3cdeab5d0aa8d9e6a91355c3:/include/wx/print.h?ds=sidebyside diff --git a/include/wx/print.h b/include/wx/print.h index 4d63fb0e56..801dea98ae 100644 --- a/include/wx/print.h +++ b/include/wx/print.h @@ -11,14 +11,27 @@ #define wxPrintPreview wxWindowsPrintPreview #endif +#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 #endif