Adam Vašíček patches for WIN32 compilation of kicad scripting

This commit is contained in:
Miguel Angel Ajo
2012-07-22 14:15:38 +02:00
parent 4f01bedf97
commit 5d0dee1364
4 changed files with 55 additions and 20 deletions
+9 -1
View File
@@ -539,7 +539,15 @@ void EDA_BASE_FRAME::CopyVersionInfoToClipboard( wxCommandEvent& event )
tmp << wxT( "OFF\n" );
#endif
tmp << wxT( " USE_BOOST_POLYGON_LIBRARY" );
tmp << wxT( " USE_BOOST_POLYGON_LIBRARY\n" );
tmp << wxT( " KICAD_SCRIPTING=" );
#ifdef KICAD_SCRIPTING
tmp << wxT( "ON\n" );
#else
tmp << wxT( "OFF\n" );
#endif
wxTheClipboard->SetData( new wxTextDataObject( tmp ) );
wxTheClipboard->Close();