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

It's unclear whether we need to notified of these events.
This commit is contained in:
rods%netscape.com 1998-08-06 17:23:49 +00:00
Родитель eb8e67908f
Коммит 7c9dc08302
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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:
{