Loading pcbnew/dialogs/dialog_fp_lib_table.cpp +1 −15 Original line number Diff line number Diff line Loading @@ -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 { } } */ //-----</wxGridTableBase overloads>------------------------------------------ }; Loading Loading @@ -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 ); Loading Loading @@ -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 ); Loading pcbnew/dialogs/dialog_fp_lib_table_base.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -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 ); Loading pcbnew/dialogs/dialog_fp_lib_table_base.fbp +1 −1 Original line number Diff line number Diff line Loading @@ -631,7 +631,7 @@ <property name="size"></property> <property name="subclass"></property> <property name="toolbar_pane">0</property> <property name="tooltip"></property> <property name="tooltip">Module libraries which are visible for curent project only</property> <property name="window_extra_style"></property> <property name="window_name"></property> <property name="window_style">wxTAB_TRAVERSAL</property> Loading Loading
pcbnew/dialogs/dialog_fp_lib_table.cpp +1 −15 Original line number Diff line number Diff line Loading @@ -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 { } } */ //-----</wxGridTableBase overloads>------------------------------------------ }; Loading Loading @@ -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 ); Loading Loading @@ -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 ); Loading
pcbnew/dialogs/dialog_fp_lib_table_base.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -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 ); Loading
pcbnew/dialogs/dialog_fp_lib_table_base.fbp +1 −1 Original line number Diff line number Diff line Loading @@ -631,7 +631,7 @@ <property name="size"></property> <property name="subclass"></property> <property name="toolbar_pane">0</property> <property name="tooltip"></property> <property name="tooltip">Module libraries which are visible for curent project only</property> <property name="window_extra_style"></property> <property name="window_name"></property> <property name="window_style">wxTAB_TRAVERSAL</property> Loading