From 74968ce1c7822608de25d90e4e5f16285bc0db8a Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 19 Feb 2007 11:30:34 -0500 Subject: BUG: fix for shrinking cmake oh no --- Source/MFCDialog/CMakeSetupDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index f7f9e49..719696e 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -429,7 +429,7 @@ void CMakeSetupDialog::SaveToRegistry() // write the size of the dialog CRect size; - this->GetClientRect(&size); + this->GetWindowRect(&size); unsigned long width = size.Width(); unsigned long height = size.Height(); RegSetValueEx(hKey, _T("Width"), 0, REG_DWORD, -- cgit v0.12