Missing () broke compilation

Originally committed to SVN as r693.
This commit is contained in:
Niels Martin Hansen 2007-01-03 05:38:26 +00:00
parent 9054a696ac
commit 65b28d2737

View file

@ -279,7 +279,7 @@ void DialogOptions::WriteToOptions() {
// Combo box // Combo box
if (binds[i].ctrl->IsKindOf(CLASSINFO(wxComboBox))) { if (binds[i].ctrl->IsKindOf(CLASSINFO(wxComboBox))) {
wxComboBox *combo = (wxComboBox*) binds[i].ctrl; wxComboBox *combo = (wxComboBox*) binds[i].ctrl;
if (combo->GetSelection != Options.AsInt(binds[i].option)) { if (combo->GetSelection() != Options.AsInt(binds[i].option)) {
Options.SetInt(binds[i].option,combo->GetSelection()); Options.SetInt(binds[i].option,combo->GetSelection());
modified = true; modified = true;
} }