user32: Send WM_GETTEXT to get the window caption when drawing the nonclient caption bar.

oldstable
Rob Shearman 2007-02-27 04:18:25 +00:00 committed by Alexandre Julliard
parent b42fcee0b1
commit 3a66a787bc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
HFONT hFont, hOldFont;