mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 21:28:48 +00:00
[COMCTL32]
* Do not add two additional pixels at the top margin of the toolbar. This is the behaviour of comctl32 v6 and our explorer depends on that to appear properly. We don't have a proper solution for these differences in behavior and since we already opt to use the v6 behavior I think it is fine. CORE-5483 #resolve #comment Committed a slightly different version of the patch, thanks. svn path=/trunk/; revision=65766
This commit is contained in:
parent
ad76fad27f
commit
3b1abd64d6
|
@ -244,7 +244,12 @@ static void TOOLBAR_TooltipSetRect(const TOOLBAR_INFO *infoPtr, const TBUTTON_IN
|
||||||
|
|
||||||
static inline int default_top_margin(const TOOLBAR_INFO *infoPtr)
|
static inline int default_top_margin(const TOOLBAR_INFO *infoPtr)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
return (infoPtr->dwStyle & TBSTYLE_FLAT ? 0 : TOP_BORDER);
|
return (infoPtr->dwStyle & TBSTYLE_FLAT ? 0 : TOP_BORDER);
|
||||||
|
#else
|
||||||
|
/* This is the behaviour in comctl32 v6 */
|
||||||
|
return 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline BOOL TOOLBAR_HasDropDownArrows(DWORD exStyle)
|
static inline BOOL TOOLBAR_HasDropDownArrows(DWORD exStyle)
|
||||||
|
|
Loading…
Reference in a new issue