X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c47addef107f756f1a342d2f3f8d432e784691a2..d2502f1471fc1970cf5f997b86f71bf916d23868:/src/common/prntbase.cpp diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index 6afdf78053..b3f2e48a3d 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -54,14 +54,13 @@ #include "wx/msw/printdlg.h" #elif defined(__WXMAC__) #include "wx/mac/printdlg.h" +#include "wx/mac/private/print.h" #else #include "wx/generic/prntdlgg.h" #endif #ifdef __WXMSW__ - #include "wx/msw/private.h" - #include - + #include "wx/msw/wrapcdlg.h" #ifndef __WIN32__ #include #endif @@ -248,7 +247,7 @@ wxPrintNativeDataBase *wxNativePrintFactory::CreatePrintNativeData() #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) return new wxWindowsPrintNativeData; #elif defined(__WXMAC__) - return new wxMacPrintNativeData; + return new wxMacCarbonPrintData; #else return new wxPostScriptPrintNativeData; #endif