X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..b5b49e42939fd7ef098241733648b534f71b526c:/include/wx/print.h 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