From 8e38e92292761d298b2db707e5bfbc378f050a3c Mon Sep 17 00:00:00 2001 From: "dcone%netscape.com" Date: Tue, 11 Dec 2001 15:03:08 +0000 Subject: [PATCH] b=112665 r=rods sr=attinasi. Set default for printing frames to each frame seperately. --- gfx/src/mac/nsDeviceContextSpecMac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/src/mac/nsDeviceContextSpecMac.cpp b/gfx/src/mac/nsDeviceContextSpecMac.cpp index 12343e0e7fc5..7ab847ecdfe7 100644 --- a/gfx/src/mac/nsDeviceContextSpecMac.cpp +++ b/gfx/src/mac/nsDeviceContextSpecMac.cpp @@ -283,14 +283,14 @@ static pascal TPPrDlg MyJobDlgInit(THPrint aHPrint) if (howToEnableFrameUI == nsIPrintOptions::kFrameEnableAll) { for (i = ePrintFrameAsIsCheckboxID; i <= ePrintAllFramesCheckboxID; i++){ ::GetDialogItem((DialogPtr) gPrtJobDialog, prFirstItem+i-1, &itemType, &itemH, &itemBox); - ::SetControlValue((ControlHandle) itemH, (i==2)); + ::SetControlValue((ControlHandle) itemH, (i==4)); ::HiliteControl((ControlHandle)itemH, 0); } } else if (howToEnableFrameUI == nsIPrintOptions::kFrameEnableAsIsAndEach) { for (i = ePrintFrameAsIsCheckboxID; i <= ePrintAllFramesCheckboxID; i++){ ::GetDialogItem((DialogPtr) gPrtJobDialog, prFirstItem+i-1, &itemType, &itemH, &itemBox); - ::SetControlValue((ControlHandle) itemH, (i==2)); + ::SetControlValue((ControlHandle) itemH, (i==4)); if ( i == 3){ ::HiliteControl((ControlHandle)itemH, 255); }