Fix a wxWidget assert and a minor wxWidgets alert

This commit is contained in:
jean-pierre charras 2021-04-19 15:01:00 +02:00
parent 287b0eea0f
commit ba3f0d5d07
2 changed files with 3 additions and 2 deletions

View File

@ -839,8 +839,8 @@ void PROJECT_TREE_PANE::onDeleteFile( wxCommandEvent& event )
} }
else else
{ {
msg = wxString::Format( _( "Are you sure you want to delete %lu items?" ), msg = wxString::Format( _( "Are you sure you want to delete %d items?" ),
tree_data.size() ); (int)tree_data.size() );
caption = _( "Delete Multiple Items" ); caption = _( "Delete Multiple Items" );
} }

View File

@ -400,6 +400,7 @@ PCB_EDIT_FRAME::~PCB_EDIT_FRAME()
delete m_selectionFilterPanel; delete m_selectionFilterPanel;
delete m_appearancePanel; delete m_appearancePanel;
delete m_exportNetlistAction;
} }