Added comment explaining style mutual exclusive flags
This commit is contained in:
@@ -136,6 +136,7 @@ void wxListBox::setStyle(long style)
|
|||||||
m_qtListWidget->setSortingEnabled(true);
|
m_qtListWidget->setSortingEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The following styles are mutually exclusive
|
||||||
if ( style & wxLB_SINGLE )
|
if ( style & wxLB_SINGLE )
|
||||||
{
|
{
|
||||||
m_qtListWidget->setSelectionMode(QAbstractItemView::SingleSelection);
|
m_qtListWidget->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||||
|
Reference in New Issue
Block a user