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:
parent
f1c1c5db3f
commit
d546fce7c4
|
@ -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" );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue