Commented out the FOCUS event cases, it cleared up several crashes

It's unclear whether we need to notified of these events.


git-svn-id: svn://10.0.0.236/trunk@7440 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1998-08-06 17:23:49 +00:00
parent 3785833de4
commit 7876bbcfce

View File

@@ -1509,13 +1509,15 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
result = PR_TRUE;
break;
case WM_SETFOCUS:
// Commenting these fixes several crashes,
// but it is unclear whether we need these events or not
/*case WM_SETFOCUS:
result = DispatchFocus(NS_GOTFOCUS);
break;
case WM_KILLFOCUS:
result = DispatchFocus(NS_LOSTFOCUS);
break;
break;*/
case WM_WINDOWPOSCHANGED:
{