fixing internal m_isOk status

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-12-03 14:51:51 +00:00
parent 143de0ca83
commit fdb1afcd50
2 changed files with 8 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);