adding fallback

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-06-08 23:05:23 +00:00
parent 361937c786
commit 4892e67d72

View 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