Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-10-11 16:30:43 +00:00
parent e40bae72d4
commit 42841dfcad
19 changed files with 50 additions and 57 deletions

View File

@@ -1351,7 +1351,7 @@ void wxBoxSizer::RecalcSizes()
}
wxPoint child_pos( pt );
wxSize child_size( wxSize( size.x, height) );
wxSize child_size( size.x, height );
if (item->GetFlag() & (wxEXPAND | wxSHAPED))
child_size.x = m_size.x;
@@ -1377,7 +1377,7 @@ void wxBoxSizer::RecalcSizes()
}
wxPoint child_pos( pt );
wxSize child_size( wxSize(width, size.y) );
wxSize child_size( width, size.y );
if (item->GetFlag() & (wxEXPAND | wxSHAPED))
child_size.y = m_size.y;