Commit 3a66a787 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent b42fcee0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment