This commit is contained in:
Niels Martin Hansen 2015-01-14 00:46:02 +01:00
parent b4516e4754
commit ebb3811942
1 changed files with 2 additions and 1 deletions

View File

@ -181,7 +181,8 @@ void EnumBinderBase::Set(int value) {
rb->SetSelection(value); rb->SetSelection(value);
else if (auto rb = dynamic_cast<wxComboBox*>(GetWindow())) else if (auto rb = dynamic_cast<wxComboBox*>(GetWindow()))
rb->SetSelection(value); 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() { bool StringBinder::TransferFromWindow() {