Remove redundant code

Should have been done in
533bedbf30 (fix aui crash related to SF bug 1531361, 2006-10-31)
This commit is contained in:
Paul Cornett 2020-10-29 06:13:29 -07:00
parent 0cae4399bd
commit a3f14b2fc2

View File

@ -2537,11 +2537,6 @@ void wxAuiManager::Update()
p.frame->Show(false);
// reparent to m_frame and destroy the pane
if (m_actionWindow == p.frame)
{
m_actionWindow = NULL;
}
p.window->Reparent(m_frame);
p.frame->SetSizer(NULL);
p.frame->Destroy();