Prevent use of deleted wxDocMDIChildFrame in wxView dtor
Revert0d8737fd
, it became unnecessary aftera9e2e6e5
and preventsb7341fe0
from working properly See #5066
This commit is contained in:
@@ -722,9 +722,6 @@ public:
|
|||||||
|
|
||||||
virtual bool Destroy() wxOVERRIDE
|
virtual bool Destroy() wxOVERRIDE
|
||||||
{
|
{
|
||||||
// FIXME: why exactly do we do this? to avoid activation events during
|
|
||||||
// destructions maybe?
|
|
||||||
m_childView = NULL;
|
|
||||||
return BaseClass::Destroy();
|
return BaseClass::Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user