- Fix condition when window is null while in event. See CORE-7635.

svn path=/trunk/; revision=61078
This commit is contained in:
James Tabor 2013-11-22 17:07:02 +00:00
parent 7f9dd54593
commit 1984a7f218

View file

@ -260,7 +260,7 @@ IntNotifyWinEvent(
ERR("Global Event 0x%x, idObject %d\n", Event, idObject);
IntCallLowLevelEvent( pEH,
Event,
UserHMGetHandle(pWnd),
pWnd ? UserHMGetHandle(pWnd) : NULL,
idObject,
idChild);
}
@ -269,7 +269,7 @@ IntNotifyWinEvent(
ERR("Local Event 0x%x, idObject %d\n", Event, idObject);
co_IntCallEventProc( UserHMGetHandle(pEH),
Event,
UserHMGetHandle(pWnd),
pWnd ? UserHMGetHandle(pWnd) : NULL,
idObject,
idChild,
PtrToUint(NtCurrentTeb()->ClientId.UniqueThread),