use HandleWindowEvent() in Close() as it can be called from a GTK+ callback (#9565)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-06-13 00:09:19 +00:00
parent 5dfae0ada3
commit a50c5fccdc

View File

@@ -402,7 +402,7 @@ bool wxWindowBase::Close(bool force)
// return false if window wasn't closed because the application vetoed the
// close event
return GetEventHandler()->ProcessEvent(event) && !event.GetVeto();
return HandleWindowEvent(event) && !event.GetVeto();
}
bool wxWindowBase::DestroyChildren()