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

Eric Kohl eric.kohl at t-online.de
Mon Feb 20 13:17:23 CST 2017


Signed-off-by: Eric Kohl <eric.kohl at t-online.de>
---
 dlls/comctl32/toolbar.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 784745c..bb53d66 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;
 	}

-- 
1.9.1




More information about the wine-patches mailing list