]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/printmac.cpp
Applied Blit system options optimization to StretchBlit
[wxWidgets.git] / src / osx / core / printmac.cpp
index ca31f2186ed206eebd1222155931ef1906063c2c..9b1eded8fe430ecab38cc8ea4d28a8afb7af4d0e 100644 (file)
@@ -651,6 +651,11 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt)
 #endif
         }
     }
+    else
+    {
+        // fallback
+        res.hRes = res.vRes = 300;
+    }
     printout->SetPPIPrinter(int(res.hRes), int(res.vRes));
 
     // Set printout parameters