Update and use annotate_dialog.pjd to create and maintain annotate dialog

This commit is contained in:
charras
2008-04-16 17:21:01 +00:00
parent dd149e2266
commit a55ef8df3c
7 changed files with 790 additions and 457 deletions
-7
View File
@@ -440,9 +440,6 @@ void BreakReference( CmpListStruct* BaseListeCmp, int NbOfCmp )
}
}
wxLogDebug( wxT( "BreakReference(): %s number found: %d\n" ),
BaseListeCmp[ii].m_TextRef,
BaseListeCmp[ii].m_NumRef );
}
}
@@ -667,7 +664,6 @@ int CheckAnnotate( WinEDA_SchematicFrame* frame, bool oneSheetOnly )
if( NbOfCmp == 0 )
{
wxBell();
return 0;
}
@@ -675,7 +671,6 @@ int CheckAnnotate( WinEDA_SchematicFrame* frame, bool oneSheetOnly )
/* Second pass : create the list of components */
ListeCmp = AllocateCmpListStrct( NbOfCmp );
printf( "CheckAnnotate() listing all components:\n" );
if( !oneSheetOnly )
{
ii = 0;
@@ -687,8 +682,6 @@ int CheckAnnotate( WinEDA_SchematicFrame* frame, bool oneSheetOnly )
else
ListeComposants( ListeCmp, frame->GetSheet() );
printf( "CheckAnnotate() done:\n" );
qsort( ListeCmp, NbOfCmp, sizeof(CmpListStruct), AnnotateByValue );
/* Break full components reference in name (prefix) and number: example: