mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[comctl32]
sync rebar to wine 1.7.11 svn path=/trunk/; revision=62233
This commit is contained in:
parent
bb1fa1fd3c
commit
d76955a546
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue