Commit df93154d authored by Miguel Angel Ajo's avatar Miguel Angel Ajo
Browse files

wxT added to the locales fix, message box on python exceptions inside wizard,...

wxT added to the locales fix, message box on python exceptions inside wizard, added some missing copyright notices
parent 1477210b
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
/*
 * This program source code file is part of KiCad, a free EDA CAD application.
 *
 * Copyright (C) 2013 NBEE Embedded Systems SL, Miguel Angel Ajo <miguelangel@ajo.es>
 * Copyright (C) 2013 KiCad Developers, see CHANGELOG.TXT for contributors.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, you may find one here:
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * or you may search the http://www.gnu.org website for the version 2 license,
 * or you may write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 */


/**
 * @file  class_footprint_wizard.cpp
 * @brief Class FOOTPRINT_WIZARD and FOOTPRINT_WIZARDS
+25 −0
Original line number Diff line number Diff line
/*
 * This program source code file is part of KiCad, a free EDA CAD application.
 *
 * Copyright (C) 2013 NBEE Embedded Systems SL, Miguel Angel Ajo <miguelangel@ajo.es>
 * Copyright (C) 2013 KiCad Developers, see CHANGELOG.TXT for contributors.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, you may find one here:
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * or you may search the http://www.gnu.org website for the version 2 license,
 * or you may write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 */


/**
 * @file  pcbnew_footprint_wizards.h
 * @brief Class PCBNEW_FOOTPRINT_WIZARDS
+6 −5
Original line number Diff line number Diff line
@@ -185,11 +185,12 @@ void FOOTPRINT_WIZARD_FRAME::ParametersUpdated( wxGridEvent& event )
                        
            value.Printf( wxT("%lf"), dValue ); 
    
        }

        // If our locale is set to use , for decimal point, just change it
        // to be scripting compatible
            value.Replace(",",".");

        }
        value.Replace( wxT( "," ), wxT( "." ) );

        arr.Add( value );
    }
+1 −0
Original line number Diff line number Diff line
@@ -458,6 +458,7 @@ void FOOTPRINT_WIZARD_FRAME::ReCreateParameterList()
            }

            value.Printf( wxT( "%lf" ), dValue );
            value.Replace( wxT( "," ), wxT( "." ) );
        }
        else if ( ptList[i]==wxT( "UNITS" ) ) // 1,2,3,4,5 ... N
        {
+2 −1
Original line number Diff line number Diff line

* think about documentation, how to do it
* toolbar button and menu for scripting console
* Action plugins: 
	right click hooks,
	toolbar hooks, 
	menu hooks, 
* IO plugins    
* better footprint wizard (preview in footprint wizard list)
* fix WX asserts

 
Loading