Coding style fixes
This commit is contained in:
parent
66ee44cb1f
commit
1a464ab8c8
|
@ -4,7 +4,7 @@
|
||||||
* Copyright (C) 2012-2015 Miguel Angel Ajo Pelayo <miguelangel@nbee.es>
|
* Copyright (C) 2012-2015 Miguel Angel Ajo Pelayo <miguelangel@nbee.es>
|
||||||
* Copyright (C) 2012-2015 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
* Copyright (C) 2012-2015 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 2008-2015 Wayne Stambaugh <stambaughw@verizon.net>
|
* Copyright (C) 2008-2015 Wayne Stambaugh <stambaughw@verizon.net>
|
||||||
* Copyright (C) 2004-2015 KiCad Developers, see change_log.txt for contributors.
|
* Copyright (C) 2004-2017 KiCad Developers, see change_log.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -389,7 +389,6 @@ void FOOTPRINT_WIZARD_FRAME::ReCreateParameterList()
|
||||||
wxGridCellBoolEditor *boolEditor = new wxGridCellBoolEditor;
|
wxGridCellBoolEditor *boolEditor = new wxGridCellBoolEditor;
|
||||||
boolEditor->UseStringValues("True","False");
|
boolEditor->UseStringValues("True","False");
|
||||||
m_parameterGrid->SetCellEditor( i, WIZ_COL_VALUE, boolEditor );
|
m_parameterGrid->SetCellEditor( i, WIZ_COL_VALUE, boolEditor );
|
||||||
|
|
||||||
m_parameterGrid->SetCellRenderer( i, WIZ_COL_VALUE, new wxGridCellBoolRenderer );
|
m_parameterGrid->SetCellRenderer( i, WIZ_COL_VALUE, new wxGridCellBoolRenderer );
|
||||||
}
|
}
|
||||||
// Parameters that can be selected from a list of multiple options
|
// Parameters that can be selected from a list of multiple options
|
||||||
|
@ -427,7 +426,6 @@ void FOOTPRINT_WIZARD_FRAME::ReCreateParameterList()
|
||||||
value.Replace( ".", wxNumberFormatter::GetDecimalSeparator() );
|
value.Replace( ".", wxNumberFormatter::GetDecimalSeparator() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Set the 'Units'
|
// Set the 'Units'
|
||||||
m_parameterGrid->SetCellValue( i, WIZ_COL_UNITS, units );
|
m_parameterGrid->SetCellValue( i, WIZ_COL_UNITS, units );
|
||||||
m_parameterGrid->SetReadOnly( i, WIZ_COL_UNITS );
|
m_parameterGrid->SetReadOnly( i, WIZ_COL_UNITS );
|
||||||
|
@ -439,7 +437,6 @@ void FOOTPRINT_WIZARD_FRAME::ReCreateParameterList()
|
||||||
}
|
}
|
||||||
|
|
||||||
ResizeParamColumns();
|
ResizeParamColumns();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void FOOTPRINT_WIZARD_FRAME::ResizeParamColumns()
|
void FOOTPRINT_WIZARD_FRAME::ResizeParamColumns()
|
||||||
|
|
|
@ -55,7 +55,7 @@ public:
|
||||||
wxArrayString GetParameterTypes( int aPage ) override;
|
wxArrayString GetParameterTypes( int aPage ) override;
|
||||||
wxArrayString GetParameterValues( int aPage ) override;
|
wxArrayString GetParameterValues( int aPage ) override;
|
||||||
wxArrayString GetParameterErrors( int aPage ) override;
|
wxArrayString GetParameterErrors( int aPage ) override;
|
||||||
// must return an empty string or an error description
|
// must return an empty string or an error description:
|
||||||
wxString SetParameterValues( int aPage, wxArrayString& aValues ) override;
|
wxString SetParameterValues( int aPage, wxArrayString& aValues ) override;
|
||||||
MODULE* GetFootprint( wxString * aMessages ) override;
|
MODULE* GetFootprint( wxString * aMessages ) override;
|
||||||
void* GetObject() override;
|
void* GetObject() override;
|
||||||
|
|
Loading…
Reference in New Issue