Browse Source

Let wxWidgets clean up its own child windows.

Potentially KICAD-P6J.
pull/18/head
Jeff Young 5 months ago
parent
commit
338c414933
  1. 8
      kicad/kicad_manager_frame.cpp

8
kicad/kicad_manager_frame.cpp

@ -657,14 +657,6 @@ void KICAD_MANAGER_FRAME::doCloseWindow()
}
#endif
for( size_t i = 0; i < m_notebook->GetPageCount(); i++ )
{
wxWindow* page = m_notebook->GetPage( i );
if( dynamic_cast<PANEL_NOTEBOOK_BASE*>( page ) )
m_notebook->DeletePage( i );
}
m_leftWin->Show( false );
Pgm().m_Quitting = true;

Loading…
Cancel
Save