comdlg32: Set PD_PAGENUMS from print dialog.

This commit is contained in:
Duane Clark 2006-07-15 19:10:00 -07:00 committed by Alexandre Julliard
parent c6ff1ef6fb
commit e0aabe4f8c
1 changed files with 3 additions and 0 deletions

View File

@ -397,7 +397,10 @@ static BOOL PRINTDLG_UpdatePrintDlgW(HWND hDlg,
}
lppd->nFromPage = nFromPage;
lppd->nToPage = nToPage;
lppd->Flags |= PD_PAGENUMS;
}
else
lppd->Flags &= ~PD_PAGENUMS;
if (IsDlgButtonChecked(hDlg, chx1) == BST_CHECKED) {/* Print to file */
static WCHAR file[] = {'F','I','L','E',':',0};