]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/prntbase.cpp
added test for wxScopeGuard
[wxWidgets.git] / src / common / prntbase.cpp
index 5a308b49507600914db4a6085d56a9652291e401..b3f2e48a3ddcaca8c5e37815eec22717f3f52b3e 100644 (file)
@@ -54,6 +54,7 @@
 #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
@@ -246,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