directly get the window text when drawing the caption bar

svn path=/trunk/; revision=9124
This commit is contained in:
Thomas Bluemel 2004-04-13 17:25:22 +00:00
parent fa3672479b
commit 2a3a6e1dda

View file

@ -1217,7 +1217,7 @@ DrawCaption(HWND hWnd, HDC hDC, LPCRECT lprc, UINT uFlags)
r.bottom = r.top + Height;
if ((uFlags & DC_TEXT) && (GetWindowTextW( hWnd, buffer, sizeof(buffer)/sizeof(buffer[0]) )))
if ((uFlags & DC_TEXT) && (NtUserInternalGetWindowText( hWnd, buffer, sizeof(buffer)/sizeof(buffer[0]) )))
{
if(!(uFlags & DC_GRADIENT))
{