Module: wine Branch: master Commit: b7cc44099af9556a90bcb6d22bc77f2f4539036c URL: http://source.winehq.org/git/wine.git/?a=commit;h=b7cc44099af9556a90bcb6d22b... Author: Eric Kohl <eric.kohl(a)t-online.de> Date: Mon Feb 20 20:17:23 2017 +0100 comctl32: Update the tooltip rectangle when a tool button is hidden. Signed-off-by: Eric Kohl <eric.kohl(a)t-online.de> Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/comctl32/toolbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index 784745c..d908e41 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -1690,6 +1690,7 @@ TOOLBAR_LayoutToolbar(TOOLBAR_INFO *infoPtr) if (btnPtr->fsState & TBSTATE_HIDDEN) { SetRectEmpty (&btnPtr->rect); + TOOLBAR_TooltipSetRect(infoPtr, btnPtr); continue; }