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:
parent
0ee169da2b
commit
01936e1d49
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue