Commit f2b43e75 authored by CHARRAS's avatar CHARRAS

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

solved drc.cpp error (pcbnew crashes in track creation or edition). very minor other changes (translation)
parent 0f452cc0
......@@ -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 )
{
......
......@@ -5,7 +5,7 @@
COMMON_GLOBL wxString g_BuildVersion
#ifdef EDA_BASE
(wxT("(2007-11-29)"))
(wxT("(2007-12-08)"))
#endif
;
......
No preview for this file type
This diff is collapsed.
......@@ -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
......
......@@ -199,9 +199,12 @@ void DRC::updatePointers()
m_drawPanel = m_mainWindow->DrawPanel;
m_pcb = m_mainWindow->m_Pcb;
m_ui->m_ClearanceListBox->SetList( new DRC_LIST_MARKERS( 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 ) );
m_ui->m_UnconnectedListBox->SetList( new DRC_LIST_UNCONNECTED( &m_unconnected ) );
}
}
......
......@@ -22,9 +22,7 @@
#include "find.h"
/* Fonctions locales */
/* variables locales */
/*Local Variables */
static wxString s_OldStringFound;
static int s_ItemCount, s_MarkerCount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment