[cmake-commits] martink committed CMakeSetupDialog.cpp 1.120 1.121

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Feb 19 11:30:36 EST 2007


Update of /cvsroot/CMake/CMake/Source/MFCDialog
In directory public:/mounts/ram/cvs-serv26774

Modified Files:
	CMakeSetupDialog.cpp 
Log Message:
BUG: fix for shrinking cmake oh no


Index: CMakeSetupDialog.cpp
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/MFCDialog/CMakeSetupDialog.cpp,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- CMakeSetupDialog.cpp	5 Feb 2007 16:13:18 -0000	1.120
+++ CMakeSetupDialog.cpp	19 Feb 2007 16:30:34 -0000	1.121
@@ -429,7 +429,7 @@
 
     // 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, 



More information about the Cmake-commits mailing list