Remove GetChars(), a wxWidgets 2.9 compatibility hack

This commit is contained in:
Marek Roszko
2020-10-15 20:53:25 -04:00
parent b9f1601418
commit a1c75748a0
62 changed files with 188 additions and 244 deletions
+2 -2
View File
@@ -198,7 +198,7 @@ const wxString GetGerberFileFunctionAttribute( const BOARD *aBoard, LAYER_NUM aL
#endif
wxString fileFct;
fileFct.Printf( "%%TF.FileFunction,%s*%%", GetChars( attrib ) );
fileFct.Printf( "%%TF.FileFunction,%s*%%", attrib );
return fileFct;
}
@@ -318,7 +318,7 @@ void AddGerberX2Header( PLOTTER * aPlotter,
if( rev.IsEmpty() )
rev = wxT( "rev?" );
text.Printf( wxT( "%%TF.ProjectId,%s,%s,%s*%%" ), msg.ToAscii(), GetChars( guid ), rev.ToAscii() );
text.Printf( wxT( "%%TF.ProjectId,%s,%s,%s*%%" ), msg.ToAscii(), guid, rev.ToAscii() );
aPlotter->AddLineToHeader( makeStringCompatX1( text, aUseX1CompatibilityMode ) );
// Add the TF.SameCoordinates, that specify all gerber files uses the same