summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-10-01 14:14:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-10-01 14:14:39 (GMT)
commite62f9a7711cd50a45d3fd0e86a015bb1776db0eb (patch)
tree080481a4205cdde0068dbf9856997b4815c0a446
parentf69e3caa1411790d3a6a37b387c26532e78bab7b (diff)
downloadCMake-e62f9a7711cd50a45d3fd0e86a015bb1776db0eb.zip
CMake-e62f9a7711cd50a45d3fd0e86a015bb1776db0eb.tar.gz
CMake-e62f9a7711cd50a45d3fd0e86a015bb1776db0eb.tar.bz2
ENH: change checkboxes back to pull down menus, remove leak
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp4
-rw-r--r--Source/cmaketest.cxx1
2 files changed, 3 insertions, 2 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index af13b7d..3f1fb8f 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -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
);
}
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx
index eae3046..7a4e215 100644
--- a/Source/cmaketest.cxx
+++ b/Source/cmaketest.cxx
@@ -126,5 +126,6 @@ int main (int argc, char *argv[])
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
+ cmMakefileGenerator::UnRegisterGenerators();
return 0;
}