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:
Cătălin Răceanu
2015-11-09 13:11:03 +02:00
committed by Vadim Zeitlin
parent 2c84f37054
commit c43fa10c74

View File

@@ -431,7 +431,7 @@ void ComboboxWidgetsPage::CreateCombo()
break;
case ComboKind_DropDown:
flags = wxCB_DROPDOWN;
flags |= wxCB_DROPDOWN;
break;
}