From e62f9a7711cd50a45d3fd0e86a015bb1776db0eb Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 1 Oct 2001 10:14:39 -0400 Subject: ENH: change checkboxes back to pull down menus, remove leak --- Source/MFCDialog/CMakeSetupDialog.cpp | 4 ++-- Source/cmaketest.cxx | 1 + 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; } -- cgit v0.12