]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/prntbase.cpp
fix compilation after r56753 (closes #10218)
[wxWidgets.git] / src / common / prntbase.cpp
index 12c4cee992c3e4e0d8e42d2db15a1fadf0dfdb06..4da0d2fa96a56cd02a27543bf5df459ad2ef08d4 100644 (file)
@@ -212,7 +212,7 @@ wxDialog *wxNativePrintFactory::CreatePrintSetupDialog( wxWindow *parent,
 
 wxDCImpl* wxNativePrintFactory::CreatePrinterDCImpl( wxPrinterDC *owner, const wxPrintData& data )
 {
-#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXUNIVERSAL__)
+#if defined(__WXGTK__) || defined(__WXMOTIF__) || ( defined(__WXUNIVERSAL__) && !defined(__WXMAC__) )
     return new wxPostScriptDCImpl( owner, data );
 #else
     return new wxPrinterDCImpl( owner, data );