Fixed SW_RESTORE handling.
This commit is contained in:
parent
40fddf7c1b
commit
d1e3245b6b
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue