mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user