#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 <commdlg.h>
-
+ #include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
return new wxWindowsPrintNativeData;
#elif defined(__WXMAC__)
- return new wxMacPrintNativeData;
+ return new wxMacCarbonPrintData;
#else
return new wxPostScriptPrintNativeData;
#endif