X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6eabf58cec014c6f85348b8d1ad26c0814123968..1b5ff3a3feed9f5a23dcf8de40189c0af2746483:/src/common/wincmn.cpp?ds=sidebyside diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index d553b83ec3..d38042bda3 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -331,9 +331,6 @@ bool wxWindowBase::Close(bool force) { wxCloseEvent event(wxEVT_CLOSE_WINDOW, m_windowId); event.SetEventObject(this); -#if WXWIN_COMPATIBILITY - event.SetForce(force); -#endif // WXWIN_COMPATIBILITY event.SetCanVeto(!force); // return FALSE if window wasn't closed because the application vetoed the