Fixed SW_RESTORE handling.

This commit is contained in:
Martin Pilka 2001-01-26 20:37:48 +00:00 committed by Alexandre Julliard
parent 40fddf7c1b
commit d1e3245b6b
1 changed files with 1 additions and 2 deletions

View File

@ -1302,8 +1302,7 @@ UINT WINPOS_MinMaximize( WND* wndPtr, UINT16 cmd, LPRECT16 lpRect )
if( wndPtr->dwStyle & WS_MINIMIZE )
{
if( wndPtr->flags & WIN_NATIVE )
if( wndPtr->pDriver->pSetHostAttr( wndPtr, HAK_ICONICSTATE, FALSE ) )
swpFlags |= MINMAX_NOSWP;
wndPtr->pDriver->pSetHostAttr( wndPtr, HAK_ICONICSTATE, FALSE );
wndPtr->dwStyle &= ~WS_MINIMIZE;
WINPOS_ShowIconTitle( wndPtr, FALSE );