Fix drop down combobox flags in the widgets sample
Combine, not replace, combobox option flags when creating a drop down one, otherwise all the others flags were simply ignored. Closes https://github.com/wxWidgets/wxWidgets/pull/136
This commit is contained in:
committed by
Vadim Zeitlin
parent
2c84f37054
commit
c43fa10c74
@@ -431,7 +431,7 @@ void ComboboxWidgetsPage::CreateCombo()
|
||||
break;
|
||||
|
||||
case ComboKind_DropDown:
|
||||
flags = wxCB_DROPDOWN;
|
||||
flags |= wxCB_DROPDOWN;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user