Added comment explaining style mutual exclusive flags

This commit is contained in:
Liam Treacy
2019-01-21 16:02:03 +00:00
parent ab3c460a93
commit d8d7f673b2

View File

@@ -136,6 +136,7 @@ void wxListBox::setStyle(long style)
m_qtListWidget->setSortingEnabled(true);
}
// The following styles are mutually exclusive
if ( style & wxLB_SINGLE )
{
m_qtListWidget->setSelectionMode(QAbstractItemView::SingleSelection);