Module: wine Branch: master Commit: 3a66a787bcaec4c07f8873ae5da39f880a7ccc05 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a66a787bcaec4c07f8873ae5d...
Author: Rob Shearman rob@codeweavers.com Date: Tue Feb 27 04:18:25 2007 +0000
user32: Send WM_GETTEXT to get the window caption when drawing the nonclient caption bar.
---
dlls/user32/nonclient.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c index cc3e66c..b4cb46c 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;