close window on receipt of close event, as well as destroy. synchs with recent changes to gtk/mac/win windows. fixes bug 20811. r:troy a:chofmann

This commit is contained in:
danm%netscape.com 1999-12-09 00:47:46 +00:00
Родитель 14f48a28d6
Коммит 77fef00cb7
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -321,6 +321,7 @@ HandleBrowserEvent(nsGUIEvent *aEvent)
result = nsEventStatus_eConsumeNoDefault;
break;
case NS_XUL_CLOSE:
case NS_DESTROY:
{
nsViewerApp* app = bw->mApp;