r=mkaply, a=blizzard
Code from jjones to check window before deferencing it
This commit is contained in:
mkaply%us.ibm.com 2000-10-19 22:13:52 +00:00
parent 9f85b7a761
commit 9f883208c2

View File

@ -678,7 +678,7 @@ MRESULT EXPENTRY fnwpNSWindow( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
{
BOOL bPreHandling = g_bHandlingMouseClick;
if( PR_FALSE == wnd->ProcessMessage( msg, mp1, mp2, mRC) &&
wnd->GetPrevWP())
WinIsWindow( (HAB)0, hwnd) && wnd->GetPrevWP())
{
mRC = (wnd->GetPrevWP())( hwnd, msg, mp1, mp2);