From: Stefan Csomor Date: Wed, 8 Jun 2011 23:01:53 +0000 (+0000) Subject: adding fallback X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dcc5dc59e21ec00a57b94c8b474cbc6e6403b8af adding fallback git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/dcprint.cpp b/src/osx/carbon/dcprint.cpp index 4f80534f6b..e0f31f91a2 100644 --- a/src/osx/carbon/dcprint.cpp +++ b/src/osx/carbon/dcprint.cpp @@ -112,6 +112,10 @@ wxMacCarbonPrinterDC::wxMacCarbonPrinterDC( wxPrintData* data ) #endif } } + else + { + res.hRes = res.vRes = 300; + } m_maxX = wxCoord((double)m_maxX * res.hRes / 72.0); m_maxY = wxCoord((double)m_maxY * res.vRes / 72.0);