mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
[comctl32]
sync rebar to wine 1.7.11 svn path=/trunk/; revision=62233
This commit is contained in:
@@ -2514,8 +2514,10 @@ REBAR_InsertBandT(REBAR_INFO *infoPtr, INT iIndex, const REBARBANDINFOW *lprbbi,
|
||||
|
||||
/* initialize band */
|
||||
memset(lpBand, 0, sizeof(*lpBand));
|
||||
lpBand->clrFore = infoPtr->clrText;
|
||||
lpBand->clrBack = infoPtr->clrBk;
|
||||
lpBand->clrFore = infoPtr->clrText == CLR_NONE ? infoPtr->clrBtnText :
|
||||
infoPtr->clrText;
|
||||
lpBand->clrBack = infoPtr->clrBk == CLR_NONE ? infoPtr->clrBtnFace :
|
||||
infoPtr->clrBk;
|
||||
lpBand->iImage = -1;
|
||||
|
||||
REBAR_CommonSetupBand(infoPtr->hwndSelf, lprbbi, lpBand);
|
||||
|
||||
Reference in New Issue
Block a user