mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[User32]
- Move notify window event to a better location for passing wine msg:test_winevents. See CORE-7447. svn path=/trunk/; revision=66280
This commit is contained in:
parent
c1e830e073
commit
af36a2a4df
1 changed files with 3 additions and 3 deletions
|
@ -96,9 +96,6 @@ DefSetText(HWND hWnd, PCWSTR String, BOOL Ansi)
|
|||
}
|
||||
Ret = NtUserDefSetText(hWnd, (String ? &lsString : NULL));
|
||||
|
||||
if (Ret)
|
||||
IntNotifyWinEvent(EVENT_OBJECT_NAMECHANGE, hWnd, OBJID_WINDOW, CHILDID_SELF, 0);
|
||||
|
||||
return Ret;
|
||||
}
|
||||
|
||||
|
@ -1402,7 +1399,10 @@ RealDefWindowProcA(HWND hWnd,
|
|||
DefSetText(hWnd, (PCWSTR)lParam, TRUE);
|
||||
|
||||
if ((GetWindowLongPtrW(hWnd, GWL_STYLE) & WS_CAPTION) == WS_CAPTION)
|
||||
{
|
||||
UserPaintCaption(hWnd);
|
||||
IntNotifyWinEvent(EVENT_OBJECT_NAMECHANGE, hWnd, OBJID_WINDOW, CHILDID_SELF, 0);
|
||||
}
|
||||
Result = 1;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue