static inline int default_top_margin(const TOOLBAR_INFO *infoPtr)
{
-#ifndef __REACTOS__
- return (infoPtr->dwStyle & TBSTYLE_FLAT ? 0 : TOP_BORDER);
-#else /* r65766 */
- /* This is the behaviour in comctl32 v6 */
- return 0;
+#ifdef __REACTOS__
+ if (infoPtr->iVersion == 6)
+ return 0;
#endif
+ return (infoPtr->dwStyle & TBSTYLE_FLAT ? 0 : TOP_BORDER);
}
static inline BOOL TOOLBAR_HasDropDownArrows(DWORD exStyle)