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
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ void DialogOptions::WriteToOptions() {
// Combo box
if (binds[i].ctrl->IsKindOf(CLASSINFO(wxComboBox))) {
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());
modified = true;
}