diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index bcc5bad25b..5f4a0a6ad1 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -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