diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index 4bd775ff00..1240fd6622 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -295,7 +295,10 @@ void wxMacPrintPreview::DetermineScaling(void) m_pageWidth = x ; m_pageHeight = y ; m_isOk = true ; - + } + else + { + m_isOk = false ; } // At 100%, the page should look about page-size on the screen. // m_previewScale = (float)((float)screenWidth/(float)printerWidth); diff --git a/src/mac/printmac.cpp b/src/mac/printmac.cpp index 4bd775ff00..1240fd6622 100644 --- a/src/mac/printmac.cpp +++ b/src/mac/printmac.cpp @@ -295,7 +295,10 @@ void wxMacPrintPreview::DetermineScaling(void) m_pageWidth = x ; m_pageHeight = y ; m_isOk = true ; - + } + else + { + m_isOk = false ; } // At 100%, the page should look about page-size on the screen. // m_previewScale = (float)((float)screenWidth/(float)printerWidth);