X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/746d7582973593a058ae72d24ac489bc2fc87832..0b49ccf8d66e2568e2b0de85c25b406aad39f3b1:/src/mac/printmac.cpp?ds=inline 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)) ) ; } } }