mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[COMCTL32] toolbar: Use szBarPadding.cy as the default top margin
This commit is contained in:
parent
22d1e1017f
commit
8c4b7b0747
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue