mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Let wxWidgets clean up its own child windows.
Potentially KICAD-P6J.
This commit is contained in:
parent
de1376e369
commit
338c414933
@ -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…
x
Reference in New Issue
Block a user