changed: after setting compact view and then normal view the program restores

the vertical size of the last used window


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@119 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2009-04-02 10:42:31 +00:00
parent e960c2adea
commit 87abe4ce7e
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ POINT p;
TabWindowFunctions::SetSizeOfFunctionsList(tab, cx, cy-p.y, borderx, bordery);
TabWindowFunctions::SetSizeOfConvertingLists(tab, cx, cy-p.y, borderx, bordery);
if( fwSizeType != SIZE_MINIMIZED )
if( fwSizeType != SIZE_MINIMIZED && GetPrgRes()->GetView() != ProgramResources::view_compact )
{
GetWindowRect(hWnd,&r);
GetPrgRes()->SetXSize( r.right - r.left );