Gerbview: drill file dialog selector: add .nc and .xnc to drill file extension list.

Therefore file extension list is ".drl .nc .xnc" for NC (Excellon) drill files.
This commit is contained in:
jean-pierre charras 2018-12-07 11:25:30 +01:00
parent f1c1c5db3f
commit d546fce7c4
2 changed files with 5 additions and 2 deletions

View File

@ -227,7 +227,10 @@ wxString ComponentFileWildcard()
// Wildcard for reports and fabrication documents
wxString DrillFileWildcard()
{
return _( "Drill files (*.drl)|*." ) + FormatWildcardExt( "drl" );
//return _( "Drill files (*.drl)|*." ) + FormatWildcardExt( "drl" );
return _( "Drill files (*.drl *.nc *.xnc)|*." ) + FormatWildcardExt( "drl" )
+ ";*." + FormatWildcardExt( "nc" )
+ ";*." + FormatWildcardExt( "xnc" );
}

View File

@ -174,7 +174,7 @@ void GERBVIEW_FRAME::Files_io( wxCommandEvent& event )
break;
default:
wxFAIL_MSG( wxT( "File_io: unexpected command id" ) );
wxFAIL_MSG( "File_io: unexpected command id" );
break;
}
}