summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-02-19 16:30:34 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-02-19 16:30:34 (GMT)
commit74968ce1c7822608de25d90e4e5f16285bc0db8a (patch)
treeb4264ab7c081d5bbe5c96cb062a14beb00a8ed79 /Source
parent32af87ad04128b90c817a66a481dfc320c93604d (diff)
downloadCMake-74968ce1c7822608de25d90e4e5f16285bc0db8a.zip
CMake-74968ce1c7822608de25d90e4e5f16285bc0db8a.tar.gz
CMake-74968ce1c7822608de25d90e4e5f16285bc0db8a.tar.bz2
BUG: fix for shrinking cmake oh no
Diffstat (limited to 'Source')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp2
1 files changed, 1 insertions, 1 deletions
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,