|
|
@ -34,6 +34,7 @@ |
|
|
|
PCB_FIELD::PCB_FIELD( FOOTPRINT* aParent, FIELD_T aFieldId, const wxString& aName ) : |
|
|
|
PCB_TEXT( aParent, PCB_FIELD_T ), |
|
|
|
m_id( aFieldId ), |
|
|
|
m_ordinal( static_cast<int>( aFieldId ) ), |
|
|
|
m_name( aName ) |
|
|
|
{ |
|
|
|
if( m_id == FIELD_T::USER ) |
|
|
@ -46,6 +47,7 @@ PCB_FIELD::PCB_FIELD( FOOTPRINT* aParent, FIELD_T aFieldId, const wxString& aNam |
|
|
|
PCB_FIELD::PCB_FIELD( const PCB_TEXT& aText, FIELD_T aFieldId, const wxString& aName ) : |
|
|
|
PCB_TEXT( aText ), |
|
|
|
m_id( aFieldId ), |
|
|
|
m_ordinal( static_cast<int>( aFieldId ) ), |
|
|
|
m_name( aName ) |
|
|
|
{ |
|
|
|
} |
|
|
|