Prevent use of deleted wxDocMDIChildFrame in wxView dtor

Revert 0d8737fd, it became unnecessary after a9e2e6e5 and prevents b7341fe0 from working properly
See #5066
This commit is contained in:
Paul Cornett 2017-08-23 23:23:08 -07:00
parent b8ff711460
commit d456d2d60e

View File

@ -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();
}