int warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -554,8 +554,8 @@ void wxMacPrintPreview::DetermineScaling(void)
|
||||
// use some defaults
|
||||
x = 8 * 72 ;
|
||||
y = 11 * 72 ;
|
||||
ww = x * 25.4 / ppiPrinter.x ;
|
||||
hh = y * 25.4 / ppiPrinter.y ;
|
||||
ww = (int) (x * 25.4 / ppiPrinter.x) ;
|
||||
hh = (int) (y * 25.4 / ppiPrinter.y) ;
|
||||
m_isOk = false ;
|
||||
}
|
||||
m_previewPrintout->SetPageSizeMM((int)ww, (int)hh);
|
||||
|
Reference in New Issue
Block a user