BOARD_ITEM::MenuText()

This commit is contained in:
dickelbeck 2007-10-01 12:58:02 +00:00
parent c748c1bc4a
commit 5491bdc655
1 changed files with 9 additions and 6 deletions

View File

@ -166,6 +166,8 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
text << wxT( " [" ) << net->m_Netname << wxT( "]" );
}
if( shape != VIA_NORMALE )
{
// say which layers, only two for now
int topLayer;
int botLayer;
@ -173,6 +175,7 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
text << _( " on " ) << ReturnPcbLayerName( topLayer).Trim() << wxT(" <-> ")
<< ReturnPcbLayerName( botLayer ).Trim();
}
}
break;
case TYPEMARQUEUR: