From f77c10ac96c3ae24aa6f606ef74e58bbec19ff72 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Fri, 15 Feb 2013 18:13:35 -0600 Subject: [PATCH] typos and tooltip --- pcbnew/dialogs/dialog_fp_lib_table.cpp | 16 +--------------- pcbnew/dialogs/dialog_fp_lib_table_base.cpp | 2 ++ pcbnew/dialogs/dialog_fp_lib_table_base.fbp | 2 +- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/pcbnew/dialogs/dialog_fp_lib_table.cpp b/pcbnew/dialogs/dialog_fp_lib_table.cpp index d173da89b1..34eccd06f2 100644 --- a/pcbnew/dialogs/dialog_fp_lib_table.cpp +++ b/pcbnew/dialogs/dialog_fp_lib_table.cpp @@ -210,18 +210,6 @@ public: } } - /* - wxGridCellAttr* GetAttr( int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind ) const // overload - { - if( aCol != COL_TYPE ) - return wxGridTableBase::GetAttr( aRow, aCol, aKind ); - else - { - - } - } - */ - //----------------------------------------------- }; @@ -378,7 +366,7 @@ class DIALOG_FP_LIB_TABLE : public DIALOG_FP_LIB_TABLE_BASE wxStringTokenizer rows( data.GetText(), ROW_SEP, wxTOKEN_RET_EMPTY ); - // if clipboard rows would extend paste end of current table size... + // if clipboard rows would extend past end of current table size... if( int( rows.CountTokens() ) > tbl->GetNumberRows() - m_cur_row ) { int newRowsNeeded = rows.CountTokens() - ( tbl->GetNumberRows() - m_cur_row ); @@ -657,8 +645,6 @@ public: m_global_grid->AutoSizeColumns(); m_project_grid->AutoSizeColumns(); - m_path_subs_grid->AutoSizeColumns(); - Connect( ID_CUT, ID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( DIALOG_FP_LIB_TABLE::onPopupSelection ), NULL, this ); diff --git a/pcbnew/dialogs/dialog_fp_lib_table_base.cpp b/pcbnew/dialogs/dialog_fp_lib_table_base.cpp index c5a43fbef5..1f9c45145d 100644 --- a/pcbnew/dialogs/dialog_fp_lib_table_base.cpp +++ b/pcbnew/dialogs/dialog_fp_lib_table_base.cpp @@ -64,6 +64,8 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID m_global_sizer->Fit( m_global_panel ); m_auinotebook->AddPage( m_global_panel, _("Global Libraries"), true, wxNullBitmap ); m_project_panel = new wxPanel( m_auinotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + m_project_panel->SetToolTip( _("Module libraries which are visible for curent project only") ); + wxBoxSizer* m_project_sizer; m_project_sizer = new wxBoxSizer( wxVERTICAL ); diff --git a/pcbnew/dialogs/dialog_fp_lib_table_base.fbp b/pcbnew/dialogs/dialog_fp_lib_table_base.fbp index a5e4b1ff83..b5d7c1b9d4 100644 --- a/pcbnew/dialogs/dialog_fp_lib_table_base.fbp +++ b/pcbnew/dialogs/dialog_fp_lib_table_base.fbp @@ -631,7 +631,7 @@ 0 - + Module libraries which are visible for curent project only wxTAB_TRAVERSAL