]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/printmac.cpp
removed countItems parameter from ctor -- doesn't work anyhow
[wxWidgets.git] / src / mac / printmac.cpp
index 426fa98c7aee6f8749c72f2db40fc317f4b1dfdf..1a0f8d51213f12d50517f77ca991b90c9e67ce08 100644 (file)
@@ -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)) ) ;
            }
        }
 }