mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
directly get the window text when drawing the caption bar
svn path=/trunk/; revision=9124
This commit is contained in:
parent
fa3672479b
commit
2a3a6e1dda
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue