X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db49000e6c3340297e14c8659612bbd5f9004bce..85a0a12a9c6fe2885c0de8801e91a2f6d6e4119a:/src/mac/carbon/dcprint.cpp diff --git a/src/mac/carbon/dcprint.cpp b/src/mac/carbon/dcprint.cpp index cabdd0d9b1..47958b22ab 100644 --- a/src/mac/carbon/dcprint.cpp +++ b/src/mac/carbon/dcprint.cpp @@ -125,7 +125,7 @@ bool wxMacCarbonPrinterDC::StartDoc( wxPrinterDC* dc , const wxString& WXUNUSED PMRect rPage; m_err = PMGetAdjustedPageRect(native->m_macPageFormat, &rPage); if ( m_err != noErr ) - return; + return false ; m_maxX = wxCoord(rPage.right - rPage.left) ; m_maxY = wxCoord(rPage.bottom - rPage.top);