This commit is contained in:
Niels Martin Hansen 2015-01-14 00:46:02 +01:00
parent b4516e4754
commit ebb3811942

View file

@ -181,7 +181,8 @@ void EnumBinderBase::Set(int value) {
rb->SetSelection(value);
else if (auto rb = dynamic_cast<wxComboBox*>(GetWindow()))
rb->SetSelection(value);
throw agi::InternalError("Control type not supported by EnumBinder");
else
throw agi::InternalError("Control type not supported by EnumBinder");
}
bool StringBinder::TransferFromWindow() {