From 3a66a787bcaec4c07f8873ae5da39f880a7ccc05 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Tue, 27 Feb 2007 04:18:25 +0000 Subject: [PATCH] user32: Send WM_GETTEXT to get the window caption when drawing the nonclient caption bar. --- dlls/user32/nonclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c index cc3e66c380f..b4cb46cb4a7 100644 --- a/dlls/user32/nonclient.c +++ b/dlls/user32/nonclient.c @@ -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; -- 2.11.4.GIT