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

Alexandre Julliard julliard at winehq.org
Tue Feb 21 16:56:12 CST 2017


Module: wine
Branch: master
Commit: b7cc44099af9556a90bcb6d22bc77f2f4539036c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b7cc44099af9556a90bcb6d22bc77f2f4539036c

Author: Eric Kohl <eric.kohl at 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 at t-online.de>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
 	}
 




More information about the wine-cvs mailing list