ENH: change checkboxes back to pull down menus, remove leak

This commit is contained in:
Bill Hoffman 2001-10-01 10:14:39 -04:00
parent f69e3caa14
commit e62f9a7711
2 changed files with 3 additions and 2 deletions

View File

@ -593,7 +593,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager()
m_CacheEntriesList.AddProperty(key,
"ON",
value.m_HelpString.c_str(),
CPropertyList::CHECKBOX,"",
CPropertyList::COMBO,"ON|OFF",
reverseOrder
);
}
@ -602,7 +602,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager()
m_CacheEntriesList.AddProperty(key,
"OFF",
value.m_HelpString.c_str(),
CPropertyList::CHECKBOX,"",
CPropertyList::COMBO,"ON|OFF",
reverseOrder
);
}

View File

@ -126,5 +126,6 @@ int main (int argc, char *argv[])
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
cmMakefileGenerator::UnRegisterGenerators();
return 0;
}