misc gcc compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1481,11 +1481,11 @@ void wxPageSetupDialogData::ConvertFromNative()
|
||||
OSStatus err = PMGetAdjustedPaperRect((PMPageFormat)m_printData.m_macPageFormat, &rPaper);
|
||||
if ( err == noErr )
|
||||
{
|
||||
m_paperSize.x = ((double) rPaper.right - rPaper.left ) * pt2mm;
|
||||
m_paperSize.y = ((double) rPaper.bottom - rPaper.top ) * pt2mm;
|
||||
m_paperSize.x = (int)(((double) rPaper.right - rPaper.left ) * pt2mm);
|
||||
m_paperSize.y = (int)(((double) rPaper.bottom - rPaper.top ) * pt2mm);
|
||||
|
||||
m_minMarginTopLeft.x = ((double) - rPaper.left ) * pt2mm;
|
||||
m_minMarginTopLeft.y = ((double) - rPaper.top ) * pt2mm;
|
||||
m_minMarginTopLeft.x = (int)(((double) - rPaper.left ) * pt2mm);
|
||||
m_minMarginTopLeft.y = (int)(((double) - rPaper.top ) * pt2mm);
|
||||
|
||||
// m_minMarginBottomRight.x = ((double) rPaper.right - (**(THPrint)m_printData.m_macPrintSettings).prInfo.rPage.right ) * pt2mm;
|
||||
// m_minMarginBottomRight.y = ((double)(**(THPrint)m_printData.m_macPrintSettings).rPaper.bottom - (**(THPrint)m_printData.m_macPrintSettings).prInfo.rPage.bottom ) * pt2mm;
|
||||
|
||||
Reference in New Issue
Block a user