BUG: fix for shrinking cmake oh no
This commit is contained in:
parent
32af87ad04
commit
74968ce1c7
@ -429,7 +429,7 @@ void CMakeSetupDialog::SaveToRegistry()
|
|||||||
|
|
||||||
// write the size of the dialog
|
// write the size of the dialog
|
||||||
CRect size;
|
CRect size;
|
||||||
this->GetClientRect(&size);
|
this->GetWindowRect(&size);
|
||||||
unsigned long width = size.Width();
|
unsigned long width = size.Width();
|
||||||
unsigned long height = size.Height();
|
unsigned long height = size.Height();
|
||||||
RegSetValueEx(hKey, _T("Width"), 0, REG_DWORD,
|
RegSetValueEx(hKey, _T("Width"), 0, REG_DWORD,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user