Cvpcb: fix a regression: in the stable version one could select many components and assign a footprint to the whole selection. Select more than on component is now re-enabled

This commit is contained in:
jean-pierre charras
2015-06-05 15:46:05 +02:00
parent c582cf5946
commit fb059b99b6
6 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -44,7 +44,7 @@
ITEMS_LISTBOX_BASE::ITEMS_LISTBOX_BASE( CVPCB_MAINFRAME* aParent, wxWindowID aId,
const wxPoint& aLocation, const wxSize& aSize,
long aStyle) :
wxListView( aParent, aId, aLocation, aSize, LISTB_STYLE | aStyle ), columnWidth(0)
wxListView( aParent, aId, aLocation, aSize, LISTBOX_STYLE | aStyle ), columnWidth(0)
{
InsertColumn( 0, wxEmptyString );
}
@@ -95,7 +95,7 @@ void ITEMS_LISTBOX_BASE::UpdateLineWidth( unsigned aLine )
{
columnWidth = newWidth;
SetColumnWidth( 0, columnWidth );
}
}
}