Correct displaying of wizard subtitle.
This commit is contained in:
parent
adc6948c4c
commit
4387895d86
@ -3156,7 +3156,7 @@ static LRESULT PROPSHEET_Paint(HWND hwnd)
|
|||||||
|
|
||||||
if (ppshpage->dwFlags & PSP_USEHEADERSUBTITLE) {
|
if (ppshpage->dwFlags & PSP_USEHEADERSUBTITLE) {
|
||||||
SelectObject(hdc, psInfo->hFont);
|
SelectObject(hdc, psInfo->hFont);
|
||||||
SetRect(&r, 40, 25, 0, 0);
|
SetRect(&r, 40, 25, rzone.right - 69, rzone.bottom);
|
||||||
if (HIWORD(ppshpage->pszHeaderTitle))
|
if (HIWORD(ppshpage->pszHeaderTitle))
|
||||||
{
|
{
|
||||||
if (psInfo->unicode)
|
if (psInfo->unicode)
|
||||||
@ -3173,7 +3173,7 @@ static LRESULT PROPSHEET_Paint(HWND hwnd)
|
|||||||
if (nLength != 0)
|
if (nLength != 0)
|
||||||
{
|
{
|
||||||
DrawTextW(hdc, szBuffer, nLength,
|
DrawTextW(hdc, szBuffer, nLength,
|
||||||
&r, DT_LEFT | DT_SINGLELINE | DT_NOCLIP);
|
&r, DT_LEFT | DT_SINGLELINE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user