Browse Source

Fix wx28 compatibility issue.

pull/1/head
jean-pierre charras 12 years ago
parent
commit
031202a837
  1. 3
      eeschema/dialogs/dialog_choose_component.cpp

3
eeschema/dialogs/dialog_choose_component.cpp

@ -47,7 +47,10 @@ DIALOG_CHOOSE_COMPONENT::DIALOG_CHOOSE_COMPONENT( wxWindow* aParent, const wxStr
m_search_container->SetTree( m_libraryComponentTree );
m_searchBox->SetFocus();
m_componentDetails->SetEditable( false );
#if wxCHECK_VERSION( 3, 0, 0 )
m_libraryComponentTree->ScrollTo( m_libraryComponentTree->GetFocusedItem() );
#endif
// The tree showing libs and component uses a fixed font,
// because we want controle the position of some info when drawing the

Loading…
Cancel
Save