comctl32: Update the tooltip rectangle when a tool button is hidden.

Signed-off-by: Eric Kohl <eric.kohl@t-online.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Kohl 2017-02-20 20:17:23 +01:00 committed by Alexandre Julliard
parent ef975efe64
commit b7cc44099a
1 changed files with 1 additions and 0 deletions

View File

@ -1690,6 +1690,7 @@ TOOLBAR_LayoutToolbar(TOOLBAR_INFO *infoPtr)
if (btnPtr->fsState & TBSTATE_HIDDEN)
{
SetRectEmpty (&btnPtr->rect);
TOOLBAR_TooltipSetRect(infoPtr, btnPtr);
continue;
}