From 8c4b7b0747b49e4ee8bbd5fc27c964a41450d9f2 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Mon, 29 Jan 2018 17:51:06 +0200 Subject: [PATCH] [COMCTL32] toolbar: Use szBarPadding.cy as the default top margin --- dll/win32/comctl32/toolbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/comctl32/toolbar.c b/dll/win32/comctl32/toolbar.c index c2befb228cf..949eadb8d7a 100644 --- a/dll/win32/comctl32/toolbar.c +++ b/dll/win32/comctl32/toolbar.c @@ -256,7 +256,7 @@ static inline int default_top_margin(const TOOLBAR_INFO *infoPtr) { #ifdef __REACTOS__ if (infoPtr->iVersion == 6) - return 0; + return infoPtr->szBarPadding.cy; #endif return (infoPtr->dwStyle & TBSTYLE_FLAT ? 0 : TOP_BORDER); } -- 2.17.1