This commit is contained in:
Dick Hollenbeck 2012-02-07 11:36:24 -06:00
parent be57e57ee4
commit 822e5db5dc
1 changed files with 1 additions and 1 deletions

View File

@ -145,13 +145,13 @@ DISPLAY_FOOTPRINTS_FRAME::DISPLAY_FOOTPRINTS_FRAME( CVPCB_MAINFRAME* father,
DISPLAY_FOOTPRINTS_FRAME::~DISPLAY_FOOTPRINTS_FRAME()
{
delete GetBoard();
delete GetScreen();
SetScreen( NULL );
( (CVPCB_MAINFRAME*) wxGetApp().GetTopWindow() )->m_DisplayFootprintFrame = NULL;
}
/* Called when the frame is closed
* Save current settings (frame position and size
*/