Commit 8d8bdc3e authored by charras's avatar charras

minor updates

parent bc5d9a75
......@@ -704,7 +704,7 @@ bool LIB_COMPONENT::LoadDrawEntries( FILE* f, char* line,
{
if( GetLine( f, line, lineNum, 1024 ) == NULL )
{
errorMsg = _( "file ended prematurely loading component draw element" );
errorMsg = wxT( "file ended prematurely loading component draw element" );
return false;
}
......@@ -759,7 +759,7 @@ bool LIB_COMPONENT::LoadDrawEntries( FILE* f, char* line,
{
if( GetLine( f, line, lineNum, 1024 ) == NULL )
{
errorMsg = _( "file ended prematurely while attempting \
errorMsg = wxT( "file ended prematurely while attempting \
to flush to end of drawing section." );
return false;
}
......
......@@ -516,14 +516,14 @@ bool CMP_LIBRARY::Load( wxString& errMsg )
if( !tkn.HasMoreTokens() )
{
errMsg = _( "The file header is missing version and time stamp \
information." );
errMsg = wxT(
"The file header is missing version and time stamp information." );
return false;
}
if( tkn.GetNextToken() != wxT( "Version" ) || !tkn.HasMoreTokens() )
{
errMsg = _( "The file header version information is invalid." );
errMsg = wxT( "The file header version information is invalid." );
return false;
}
......
......@@ -38,7 +38,7 @@ void WinEDA_GerberFrame::Files_io( wxCommandEvent& event )
switch( id )
{
case ID_LOAD_FILE:
if( Clear_Pcb( TRUE ) )
if( Clear_Pcb( true ) )
{
LoadOneGerberFile( wxEmptyString, 0 );
}
......@@ -63,8 +63,8 @@ void WinEDA_GerberFrame::Files_io( wxCommandEvent& event )
break;
case ID_NEW_BOARD:
Clear_Pcb( TRUE );
Zoom_Automatique( FALSE );
Clear_Pcb( true );
Zoom_Automatique( false );
GetScreen()->SetRefreshReq();
break;
......@@ -155,7 +155,7 @@ bool WinEDA_GerberFrame::LoadOneGerberFile( const wxString& FullFileName,
if( Read_GERBER_File( GetScreen()->m_FileName, filename.GetFullPath() ) )
SetLastProject( GetScreen()->m_FileName );
Zoom_Automatique( FALSE );
Zoom_Automatique( false );
GetScreen()->SetRefreshReq();
g_SaveTime = time( NULL );
......
......@@ -25,12 +25,12 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
menuBar = new wxMenuBar();
wxMenu* filesMenu = new wxMenu;
filesMenu->Append( ID_LOAD_FILE, _( "Clear and Load Gerber File" ),
_( "Clear all layers and Load new Gerber file" ),
filesMenu->Append( ID_LOAD_FILE, _( "Clear All and Load Gerber File" ),
_( "Clear all layers and Load a new Gerber file on first layer" ),
FALSE );
filesMenu->Append( ID_APPEND_FILE, _( "Load Gerber File" ),
_( "Load new Gerber file on current layer" ),
filesMenu->Append( ID_APPEND_FILE, _( "Append Gerber File to Current Layer" ),
_( "Append a new Gerber file to the current layer" ),
FALSE );
filesMenu->Append( ID_MENU_INC_LAYER_AND_APPEND_FILE,
......@@ -41,11 +41,11 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
filesMenu->Append( ID_GERBVIEW_LOAD_DCODE_FILE, _( "Load DCodes" ),
_( "Load D-Codes File" ), FALSE );
#if 0
filesMenu->Append( ID_GERBVIEW_LOAD_DRILL_FILE, _( "Load Drill" ),
filesMenu->Append( ID_GERBVIEW_LOAD_DRILL_FILE, _( "Load EXCELLON Drill File" ),
_( "Load excellon drill file" ), FALSE );
#endif
filesMenu->Append( ID_NEW_BOARD, _( "&New" ),
filesMenu->Append( ID_NEW_BOARD, _( "&Clear All" ),
_( "Clear all layers" ), FALSE );
filesMenu->AppendSeparator();
......
No preview for this file type
This diff is collapsed.
......@@ -36,14 +36,14 @@ DIALOG_FREEROUTE::DIALOG_FREEROUTE( WinEDA_PcbFrame* parent ):
{
m_Parent = parent;
MyInit();
Layout();
GetSizer()->SetSizeHints( this );
Centre();
}
/*!
* Member initialisation
/* Specific data initialisation
*/
void DIALOG_FREEROUTE::MyInit()
......
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