[COMCTL32]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 19 Feb 2017 20:39:11 +0000 (20:39 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 19 Feb 2017 20:39:11 +0000 (20:39 +0000)
Update a tool buttons tooltip rectangle when the button gets hidden.
Patch will be sent upstream!
CORE-12667 #resolve

svn path=/trunk/; revision=73853

reactos/dll/win32/comctl32/toolbar.c

index ad571db..e87e2a5 100644 (file)
@@ -1758,6 +1758,7 @@ TOOLBAR_LayoutToolbar(TOOLBAR_INFO *infoPtr)
        if (btnPtr->fsState & TBSTATE_HIDDEN)
        {
            SetRectEmpty (&btnPtr->rect);
+           TOOLBAR_TooltipSetRect(infoPtr, btnPtr);
            continue;
        }