summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6fda346)
svn path=/trunk/; revision=74931
static inline int default_top_margin(const TOOLBAR_INFO *infoPtr)
{
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;
+ return (infoPtr->dwStyle & TBSTYLE_FLAT ? 0 : TOP_BORDER);
}
static inline BOOL TOOLBAR_HasDropDownArrows(DWORD exStyle)
}
static inline BOOL TOOLBAR_HasDropDownArrows(DWORD exStyle)