From d456d2d60e76f8d6e3b1531792692b41cd98190e Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 23 Aug 2017 23:23:08 -0700 Subject: [PATCH] Prevent use of deleted wxDocMDIChildFrame in wxView dtor Revert 0d8737fd, it became unnecessary after a9e2e6e5 and prevents b7341fe0 from working properly See #5066 --- include/wx/docview.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/wx/docview.h b/include/wx/docview.h index 99456eef62..6d8a10f899 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -722,9 +722,6 @@ public: virtual bool Destroy() wxOVERRIDE { - // FIXME: why exactly do we do this? to avoid activation events during - // destructions maybe? - m_childView = NULL; return BaseClass::Destroy(); }