comctl32/rebar: Avoid empty band range when changing layout.
This commit is contained in:
parent
6398448974
commit
02c06f0d66
|
@ -1377,6 +1377,7 @@ REBAR_Layout(REBAR_INFO *infoPtr)
|
|||
|
||||
xMin += lpBand->cxMinBand;
|
||||
}
|
||||
if (rowstart < infoPtr->uNumBands)
|
||||
REBAR_LayoutRow(infoPtr, rowstart, infoPtr->uNumBands, adjcx, &row, &yPos);
|
||||
|
||||
if (!(infoPtr->dwStyle & RBS_VARHEIGHT))
|
||||
|
|
Loading…
Reference in New Issue