fix
This commit is contained in:
parent
be57e57ee4
commit
822e5db5dc
|
@ -145,13 +145,13 @@ DISPLAY_FOOTPRINTS_FRAME::DISPLAY_FOOTPRINTS_FRAME( CVPCB_MAINFRAME* father,
|
||||||
|
|
||||||
DISPLAY_FOOTPRINTS_FRAME::~DISPLAY_FOOTPRINTS_FRAME()
|
DISPLAY_FOOTPRINTS_FRAME::~DISPLAY_FOOTPRINTS_FRAME()
|
||||||
{
|
{
|
||||||
delete GetBoard();
|
|
||||||
delete GetScreen();
|
delete GetScreen();
|
||||||
SetScreen( NULL );
|
SetScreen( NULL );
|
||||||
|
|
||||||
( (CVPCB_MAINFRAME*) wxGetApp().GetTopWindow() )->m_DisplayFootprintFrame = NULL;
|
( (CVPCB_MAINFRAME*) wxGetApp().GetTopWindow() )->m_DisplayFootprintFrame = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Called when the frame is closed
|
/* Called when the frame is closed
|
||||||
* Save current settings (frame position and size
|
* Save current settings (frame position and size
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue