another VC6 fix; i reused inside for
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1858,7 +1858,8 @@ void wxBoxSizer::RecalcSizes()
|
|||||||
// Inform child items about the size in minor direction, that can
|
// Inform child items about the size in minor direction, that can
|
||||||
// change how much free space we have in major dir and how to distribute it.
|
// change how much free space we have in major dir and how to distribute it.
|
||||||
int majorMinSum = 0;
|
int majorMinSum = 0;
|
||||||
for ( wxSizerItemList::const_iterator i = m_children.begin();
|
wxSizerItemList::const_iterator i ;
|
||||||
|
for ( i = m_children.begin();
|
||||||
i != m_children.end();
|
i != m_children.end();
|
||||||
++i )
|
++i )
|
||||||
{
|
{
|
||||||
@@ -1890,7 +1891,7 @@ void wxBoxSizer::RecalcSizes()
|
|||||||
wxPoint pt(m_position);
|
wxPoint pt(m_position);
|
||||||
|
|
||||||
int totalProportion = m_totalProportion;
|
int totalProportion = m_totalProportion;
|
||||||
for ( wxSizerItemList::const_iterator i = m_children.begin();
|
for ( i = m_children.begin();
|
||||||
i != m_children.end();
|
i != m_children.end();
|
||||||
++i )
|
++i )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user