Cvpcb: minro fixes: fix an outdated help message, and remove dead code.
This commit is contained in:
parent
8b33bfc61b
commit
2daaf084be
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
* Copyright (C) 2015 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 2014-2015 KiCad Developers, see CHANGELOG.TXT for contributors.
|
* Copyright (C) 2014-2015 KiCad Developers, see CHANGELOG.TXT for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
|
@ -25,7 +25,6 @@
|
||||||
#ifndef HELP_MESSAGE_FILE_H
|
#ifndef HELP_MESSAGE_FILE_H
|
||||||
#define HELP_MESSAGE_FILE_H
|
#define HELP_MESSAGE_FILE_H
|
||||||
|
|
||||||
#define LOAD_FILE_HELP _( "Open netlist file" )
|
#define SAVE_HLP_MSG _( "Save footprint association in schematic component footprint fields" )
|
||||||
#define SAVE_HLP_MSG _( "Save footprint association changes to netlist" )
|
|
||||||
|
|
||||||
#endif // HELP_MESSAGE_FILE_H
|
#endif // HELP_MESSAGE_FILE_H
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
enum id_cvpcb_frm
|
enum id_cvpcb_frm
|
||||||
{
|
{
|
||||||
ID_CVPCB_QUIT = ID_END_LIST,
|
ID_CVPCB_QUIT = ID_END_LIST,
|
||||||
ID_CVPCB_READ_INPUT_NETLIST,
|
|
||||||
ID_CVPCB_SAVEQUITCVPCB,
|
ID_CVPCB_SAVEQUITCVPCB,
|
||||||
ID_CVPCB_CREATE_SCREENCMP,
|
ID_CVPCB_CREATE_SCREENCMP,
|
||||||
ID_CVPCB_GOTO_FIRSTNA,
|
ID_CVPCB_GOTO_FIRSTNA,
|
||||||
|
|
|
@ -49,14 +49,6 @@ void CVPCB_MAINFRAME::ReCreateHToolbar()
|
||||||
m_mainToolBar = new wxAuiToolBar( this, ID_H_TOOLBAR, wxDefaultPosition, wxDefaultSize,
|
m_mainToolBar = new wxAuiToolBar( this, ID_H_TOOLBAR, wxDefaultPosition, wxDefaultSize,
|
||||||
wxAUI_TB_DEFAULT_STYLE | wxAUI_TB_HORZ_LAYOUT );
|
wxAUI_TB_DEFAULT_STYLE | wxAUI_TB_HORZ_LAYOUT );
|
||||||
|
|
||||||
// Open files can be used only outside a project, because opening a netlist
|
|
||||||
// which is not the project netlist is a non sense.
|
|
||||||
if( Kiface().IsSingle() )
|
|
||||||
{
|
|
||||||
m_mainToolBar->AddTool( ID_CVPCB_READ_INPUT_NETLIST, wxEmptyString,
|
|
||||||
KiBitmap( open_document_xpm ), LOAD_FILE_HELP );
|
|
||||||
}
|
|
||||||
|
|
||||||
m_mainToolBar->AddTool( wxID_SAVE, wxEmptyString, KiBitmap( save_xpm ), SAVE_HLP_MSG );
|
m_mainToolBar->AddTool( wxID_SAVE, wxEmptyString, KiBitmap( save_xpm ), SAVE_HLP_MSG );
|
||||||
|
|
||||||
m_mainToolBar->AddSeparator();
|
m_mainToolBar->AddSeparator();
|
||||||
|
|
Loading…
Reference in New Issue