mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-06 00:10:25 +00:00
b=112665 r=rods sr=attinasi. Set default for printing frames to each frame seperately.
This commit is contained in:
parent
57b2fb8479
commit
8e38e92292
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user