user32: Send WM_GETTEXT to get the window caption when drawing the nonclient caption bar.
This commit is contained in:
parent
b42fcee0b1
commit
3a66a787bc
|
@ -968,7 +968,7 @@ static void NC_DrawCaption( HDC hdc, RECT *rect, HWND hwnd, DWORD style,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (InternalGetWindowText( hwnd, buffer, sizeof(buffer)/sizeof(WCHAR) ))
|
if (GetWindowTextW( hwnd, buffer, sizeof(buffer)/sizeof(WCHAR) ))
|
||||||
{
|
{
|
||||||
NONCLIENTMETRICSW nclm;
|
NONCLIENTMETRICSW nclm;
|
||||||
HFONT hFont, hOldFont;
|
HFONT hFont, hOldFont;
|
||||||
|
|
Loading…
Reference in New Issue