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:
+2
-2
@@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user