don't delete m_pActiveChild twice in wxWINDOWCLOSEALL event handler (patch 1665395, bug 1661995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -331,11 +331,6 @@ void wxAuiMDIParentFrame::DoHandleMenu(wxCommandEvent& event)
|
|||||||
{
|
{
|
||||||
return; // failure
|
return; // failure
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
delete m_pActiveChild;
|
|
||||||
m_pActiveChild = NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case wxWINDOWNEXT:
|
case wxWINDOWNEXT:
|
||||||
|
Reference in New Issue
Block a user