Remove unnecessary variable assignment from wxBoxSizer::RecalcSizes().
The "delta" variable was assigned a value that was never used afterwards. Closes #14908. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2102,9 +2102,8 @@ void wxBoxSizer::RecalcSizes()
|
|||||||
minMajorSize += GetSizeInMajorDir(item->GetMinSizeWithBorder());
|
minMajorSize += GetSizeInMajorDir(item->GetMinSizeWithBorder());
|
||||||
}
|
}
|
||||||
|
|
||||||
// update our min size and delta which may have changed
|
// update our min size have changed
|
||||||
SizeInMajorDir(m_minSize) = minMajorSize;
|
SizeInMajorDir(m_minSize) = minMajorSize;
|
||||||
delta = totalMajorSize - minMajorSize;
|
|
||||||
|
|
||||||
|
|
||||||
// space and sum of proportions for the remaining items, both may change
|
// space and sum of proportions for the remaining items, both may change
|
||||||
|
Reference in New Issue
Block a user