From: Vadim Zeitlin Date: Fri, 13 Jun 2008 00:09:19 +0000 (+0000) Subject: use HandleWindowEvent() in Close() as it can be called from a GTK+ callback (#9565) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a50c5fccdc7151f830e03b49deb5f61cb2783ccf 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 --- diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 6a5a381c05..6ccc05323e 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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()