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:
Vadim Zeitlin 2012-12-22 02:33:44 +00:00
parent 0ee169da2b
commit 01936e1d49

View File

@ -2102,9 +2102,8 @@ void wxBoxSizer::RecalcSizes()
minMajorSize += GetSizeInMajorDir(item->GetMinSizeWithBorder());
}
// update our min size and delta which may have changed
// update our min size have changed
SizeInMajorDir(m_minSize) = minMajorSize;
delta = totalMajorSize - minMajorSize;
// space and sum of proportions for the remaining items, both may change