From: Stefan Csomor Date: Wed, 8 Jun 2011 23:05:23 +0000 (+0000) Subject: adding fallback X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4892e67d7234f4bcfc12c55c28611a40d8f208a5 adding fallback git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/core/printmac.cpp b/src/osx/core/printmac.cpp index ca31f2186e..9b1eded8fe 100644 --- a/src/osx/core/printmac.cpp +++ b/src/osx/core/printmac.cpp @@ -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