Do not distinguish exterior wizard pages by their position, but

instead expect that every page in wizard that doesn't have header is
exterior.
This commit is contained in:
Filip Navara 2004-09-08 21:47:03 +00:00 committed by Alexandre Julliard
parent 80cfdd353d
commit 3b0aaea137
1 changed files with 1 additions and 1 deletions

View File

@ -3186,7 +3186,7 @@ static LRESULT PROPSHEET_Paint(HWND hwnd)
SelectObject(hdcSrc, hbmp);
}
if ( ((psInfo->active_page == 0) || (psInfo->active_page == psInfo->nPages - 1)) &&
if ( (ppshpage->dwFlags & PSP_HIDEHEADER) &&
(psInfo->ppshheader.dwFlags & (PSH_WIZARD97_OLD | PSH_WIZARD97_NEW)) &&
(psInfo->ppshheader.dwFlags & PSH_WATERMARK) )
{