adding fallback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c9e98a88db
commit
dcc5dc59e2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user