X-Git-Url: https://git.karo-electronics.de/?p=karo-tx-redboot.git;a=blobdiff_plain;f=tools%2Fsrc%2Ftools%2Fconfigtool%2Fstandalone%2Fwxwin%2Fpackagesdlg.cpp;h=5694fcfb6aecd93a1f91e1eb152e5755fbead1c1;hp=c7dd04cf7c772c3f4288f00d10373827d677d51d;hb=7a4ea0a4d67744fd3f6b5f207d857005fc707b46;hpb=f0c1bd5d9f8457be4a43912a28ca2df207a7f5a4 diff --git a/tools/src/tools/configtool/standalone/wxwin/packagesdlg.cpp b/tools/src/tools/configtool/standalone/wxwin/packagesdlg.cpp index c7dd04cf..5694fcfb 100644 --- a/tools/src/tools/configtool/standalone/wxwin/packagesdlg.cpp +++ b/tools/src/tools/configtool/standalone/wxwin/packagesdlg.cpp @@ -2,7 +2,6 @@ // // ---------------------------------------------------------------------------- // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. -// Copyright (C) 2003 John Dallaway // // This program is part of the eCos host tools. // @@ -28,7 +27,7 @@ //=========================================================================== //#####DESCRIPTIONBEGIN#### // -// Author(s): julians, jld +// Author(s): julians // Contact(s): julians // Date: 2000/09/28 // Version: $Id$ @@ -128,7 +127,7 @@ void ecPackagesDialog::CreateControls(wxWindow* parent) wxSizer *item1 = new wxBoxSizer( wxHORIZONTAL ); wxSizer *item2 = new wxBoxSizer( wxVERTICAL ); - + wxStaticText *item3 = new wxStaticText( parent, wxID_STATIC, _("Available &packages:"), wxDefaultPosition, wxDefaultSize, 0 ); item2->Add( item3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); @@ -226,7 +225,7 @@ void ecPackagesDialog::CreateControls(wxWindow* parent) wxButton *item7 = new wxButton( parent, ecID_PACKAGES_DIALOG_REMOVE, _("<< &Remove"), wxDefaultPosition, wxDefaultSize, 0 ); item5->Add( item7, 0, wxALIGN_CENTRE|wxALL, 5 ); - + item1->Add( item5, 0, wxALIGN_CENTRE|wxALL, 0 ); wxSizer *item8 = new wxBoxSizer( wxVERTICAL ); @@ -275,7 +274,7 @@ void ecPackagesDialog::CreateControls(wxWindow* parent) wxButton *item20 = new wxButton( parent, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 ); item20->SetDefault(); item18->Add( item20, 0, wxALIGN_CENTRE|wxALL, 5 ); - + wxButton *item21 = new wxButton( parent, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); item18->Add( item21, 0, wxALIGN_CENTRE|wxALL, 5 ); @@ -388,7 +387,7 @@ void ecPackagesDialog::Fill() } // Initialize the controls - for (i = 0; i < GetCount(); i++) + for (i = 0; i < GetCount()-1; i++) { const wxString& str = m_items[i]; wxListBox* lb = m_arnItems[i] ? useList : availableList;