[COMCTL32] toolbar: Use szBarPadding.cy as the default top margin

This commit is contained in:
Giannis Adamopoulos 2018-01-29 17:51:06 +02:00
parent 22d1e1017f
commit 8c4b7b0747

View file

@ -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);
}