Parcourir la source

BUG: fix for shrinking cmake oh no

Ken Martin il y a 18 ans
Parent
commit
74968ce1c7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Source/MFCDialog/CMakeSetupDialog.cpp

+ 1 - 1
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,