solved drc.cpp error (pcbnew crashes in track creation or edition). very minor other changes (translation)

This commit is contained in:
CHARRAS 2007-12-06 07:35:26 +00:00
parent 0f452cc016
commit f2b43e752f
7 changed files with 6490 additions and 6374 deletions

View File

@ -760,7 +760,7 @@ int CheckAnnotate( WinEDA_SchematicFrame* frame, bool OneSheetOnly )
continue;
}
/* Test error if units are different but number of parts per package to hight
/* Test error if units are different but number of parts per package too hight
* (ex U3 ( 1 part) and we find U3B the is an error) */
if( ListeCmp[ii].m_NbParts != ListeCmp[ii + 1].m_NbParts )
{

View File

@ -5,7 +5,7 @@
COMMON_GLOBL wxString g_BuildVersion
#ifdef EDA_BASE
(wxT("(2007-11-29)"))
(wxT("(2007-12-08)"))
#endif
;

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -70,7 +70,7 @@ WinEDA_BasePcbFrame::~WinEDA_BasePcbFrame( void )
int WinEDA_BasePcbFrame::BestZoom( void )
/**************************************/
/**
* Return the "best" zoom, i.e. the zoom which shows the entire borad on screen
* Return the "best" zoom, i.e. the zoom which shows the entire board on screen
*/
{
int dx, dy, ii, jj;
@ -96,7 +96,9 @@ int WinEDA_BasePcbFrame::BestZoom( void )
}
/***********************************************************/
void WinEDA_BasePcbFrame::CursorGoto( const wxPoint& aPos )
/***********************************************************/
{
// factored out of pcbnew/find.cpp
@ -112,7 +114,7 @@ void WinEDA_BasePcbFrame::CursorGoto( const wxPoint& aPos )
}
else
{
// Positionnement du curseur sur l'item
// Put cursor on item position
DrawPanel->CursorOff( &dc );
screen->m_Curseur = aPos;
GRMouseWarp( DrawPanel, screen->m_Curseur );
@ -149,7 +151,7 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse )
void WinEDA_BasePcbFrame::Show3D_Frame( wxCommandEvent& event )
/***********************************************************/
/* Creat and show the 3D frame display
/* Creates and shows the 3D frame display
*/
{
#ifndef GERBVIEW

View File

@ -199,10 +199,13 @@ void DRC::updatePointers()
m_drawPanel = m_mainWindow->DrawPanel;
m_pcb = m_mainWindow->m_Pcb;
if ( m_ui ) // Use diag list boxes only in DRC dialog
{
m_ui->m_ClearanceListBox->SetList( new DRC_LIST_MARKERS( m_pcb ) );
m_ui->m_UnconnectedListBox->SetList( new DRC_LIST_UNCONNECTED( &m_unconnected ) );
}
}
void DRC::testTracks()

View File

@ -22,9 +22,7 @@
#include "find.h"
/* Fonctions locales */
/* variables locales */
/*Local Variables */
static wxString s_OldStringFound;
static int s_ItemCount, s_MarkerCount;