diff --git a/eeschema/dialogs/dialog_edit_components_libid_base.cpp b/eeschema/dialogs/dialog_edit_components_libid_base.cpp index 3e405800f6..f3e91b0854 100644 --- a/eeschema/dialogs/dialog_edit_components_libid_base.cpp +++ b/eeschema/dialogs/dialog_edit_components_libid_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.9.0 Feb 16 2021) +// C++ code generated with wxFormBuilder (version Oct 26 2018) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -33,10 +33,10 @@ DIALOG_EDIT_COMPONENTS_LIBID_BASE::DIALOG_EDIT_COMPONENTS_LIBID_BASE( wxWindow* m_grid->SetColSize( 2, 280 ); m_grid->EnableDragColMove( false ); m_grid->EnableDragColSize( true ); + m_grid->SetColLabelSize( 22 ); m_grid->SetColLabelValue( 0, _("Symbols") ); m_grid->SetColLabelValue( 1, _("Current Library Reference") ); m_grid->SetColLabelValue( 2, _("New Library Reference") ); - m_grid->SetColLabelSize( 22 ); m_grid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER ); // Rows @@ -61,7 +61,8 @@ DIALOG_EDIT_COMPONENTS_LIBID_BASE::DIALOG_EDIT_COMPONENTS_LIBID_BASE( wxWindow* bSizerButtons->Add( m_buttonOrphanItems, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); m_checkBoxUpdateFields = new wxCheckBox( this, wxID_ANY, _("Update symbol fields from new library"), wxDefaultPosition, wxDefaultSize, 0 ); - m_checkBoxUpdateFields->SetValue(true); + m_checkBoxUpdateFields->SetToolTip( _("Replace current symbole fields by fields from the new lobrary.\nWarning: fields \"Value\" and \"Footprints\" will be therefore replaced.") ); + bSizerButtons->Add( m_checkBoxUpdateFields, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); diff --git a/eeschema/dialogs/dialog_edit_components_libid_base.fbp b/eeschema/dialogs/dialog_edit_components_libid_base.fbp index c822b824de..4b867c27b5 100644 --- a/eeschema/dialogs/dialog_edit_components_libid_base.fbp +++ b/eeschema/dialogs/dialog_edit_components_libid_base.fbp @@ -14,7 +14,6 @@ dialog_edit_components_libid_base 1000 none - 1 dialog_edit_components_libid_base @@ -26,7 +25,6 @@ 1 1 UI - 0 0 0 @@ -172,7 +170,6 @@ - 0 @@ -251,7 +248,7 @@ 1 0 - 1 + 0 1 1 @@ -287,7 +284,7 @@ ; ; forward_declare 0 - + Replace current symbole fields by fields from the new lobrary. Warning: fields "Value" and "Footprints" will be therefore replaced. wxFILTER_NONE wxDefaultValidator diff --git a/eeschema/dialogs/dialog_edit_components_libid_base.h b/eeschema/dialogs/dialog_edit_components_libid_base.h index 0e489e23af..e592a240ea 100644 --- a/eeschema/dialogs/dialog_edit_components_libid_base.h +++ b/eeschema/dialogs/dialog_edit_components_libid_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.9.0 Feb 16 2021) +// C++ code generated with wxFormBuilder (version Oct 26 2018) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -19,10 +19,10 @@ class WX_GRID; #include #include #include -#include #include #include #include +#include #include #include #include @@ -45,7 +45,7 @@ class DIALOG_EDIT_COMPONENTS_LIBID_BASE : public DIALOG_SHIM wxButton* m_sdbSizerOK; wxButton* m_sdbSizerCancel; - // Virtual event handlers, override them in your derived class + // Virtual event handlers, overide them in your derived class virtual void onCellBrowseLib( wxGridEvent& event ) { event.Skip(); } virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); } virtual void onClickOrphansButton( wxCommandEvent& event ) { event.Skip(); }