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:
@@ -295,7 +295,10 @@ void wxMacPrintPreview::DetermineScaling(void)
|
|||||||
m_pageWidth = x ;
|
m_pageWidth = x ;
|
||||||
m_pageHeight = y ;
|
m_pageHeight = y ;
|
||||||
m_isOk = true ;
|
m_isOk = true ;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_isOk = false ;
|
||||||
}
|
}
|
||||||
// At 100%, the page should look about page-size on the screen.
|
// At 100%, the page should look about page-size on the screen.
|
||||||
// m_previewScale = (float)((float)screenWidth/(float)printerWidth);
|
// m_previewScale = (float)((float)screenWidth/(float)printerWidth);
|
||||||
|
@@ -295,7 +295,10 @@ void wxMacPrintPreview::DetermineScaling(void)
|
|||||||
m_pageWidth = x ;
|
m_pageWidth = x ;
|
||||||
m_pageHeight = y ;
|
m_pageHeight = y ;
|
||||||
m_isOk = true ;
|
m_isOk = true ;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_isOk = false ;
|
||||||
}
|
}
|
||||||
// At 100%, the page should look about page-size on the screen.
|
// At 100%, the page should look about page-size on the screen.
|
||||||
// m_previewScale = (float)((float)screenWidth/(float)printerWidth);
|
// m_previewScale = (float)((float)screenWidth/(float)printerWidth);
|
||||||
|
Reference in New Issue
Block a user