void LIB_EDIT_FRAME::OnCloseWindow( wxCloseEvent& Event ) { if( saveAllLibraries( true ) ) Destroy(); else Event.Veto(); }
void LIB_EDIT_FRAME::OnSaveAll( wxCommandEvent& event ) { saveAllLibraries( false ); m_treePane->Refresh(); refreshSchematic(); }