Browse Source

fixed up resizing info

Ken Martin 24 years ago
parent
commit
f42e4d5cd2
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Source/MFCDialog/CMakeSetupDialog.cpp

+ 5 - 0
Source/MFCDialog/CMakeSetupDialog.cpp

@@ -586,6 +586,11 @@ void CMakeSetupDialog::SaveCacheFromGUI()
 
 void CMakeSetupDialog::OnSize(UINT nType, int cx, int cy) 
 {
+  if (nType == SIZE_MINIMIZED)
+    {
+    CDialog::OnSize(nType, cx, cy);
+    return;
+    }  
   if (m_oldCX == -1)
     {
     m_oldCX = cx;