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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user