X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/746d7582973593a058ae72d24ac489bc2fc87832..c71d3313a42a8fdc6efd6a0c49ad13def665ef2f:/src/mac/printmac.cpp diff --git a/src/mac/printmac.cpp b/src/mac/printmac.cpp index 426fa98c7a..1a0f8d5121 100644 --- a/src/mac/printmac.cpp +++ b/src/mac/printmac.cpp @@ -234,8 +234,8 @@ void wxMacCarbonPrintData::TransferTo( wxPageSetupData* data ) (int)(((double) rPage.top - rPaper.top ) * pt2mm) ) ) ; data->SetMinMarginBottomRight( wxPoint ( - ((double) rPaper.right - rPage.right ) * pt2mm , - ((double) rPaper.bottom - rPage.bottom ) * pt2mm ) ) ; + (wxCoord)(((double) rPaper.right - rPage.right ) * pt2mm), + (wxCoord)(((double) rPaper.bottom - rPage.bottom ) * pt2mm)) ) ; } } }