Don't update min size in wxBoxSizer::RecalcSizes()
This seems to be just unnecessary as RecalcSizes() is only supposed to reposition the child elements and CalcMin() will be called later again if the min size needs to be recomputed.
This commit is contained in:
parent
b1314bbca4
commit
cfb1e8adbf
@ -2211,9 +2211,6 @@ void wxBoxSizer::RecalcSizes()
|
||||
minMajorSize += GetSizeInMajorDir(item->GetMinSizeWithBorder());
|
||||
}
|
||||
|
||||
// update our min size have changed
|
||||
SizeInMajorDir(m_minSize) = minMajorSize;
|
||||
|
||||
|
||||
// space and sum of proportions for the remaining items, both may change
|
||||
// below
|
||||
|
Loading…
Reference in New Issue
Block a user