int warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-07-05 13:11:20 +00:00
parent 747592e7cb
commit 17d4f7aca8

View File

@@ -554,8 +554,8 @@ void wxMacPrintPreview::DetermineScaling(void)
// use some defaults // use some defaults
x = 8 * 72 ; x = 8 * 72 ;
y = 11 * 72 ; y = 11 * 72 ;
ww = x * 25.4 / ppiPrinter.x ; ww = (int) (x * 25.4 / ppiPrinter.x) ;
hh = y * 25.4 / ppiPrinter.y ; hh = (int) (y * 25.4 / ppiPrinter.y) ;
m_isOk = false ; m_isOk = false ;
} }
m_previewPrintout->SetPageSizeMM((int)ww, (int)hh); m_previewPrintout->SetPageSizeMM((int)ww, (int)hh);