Warning fixes from ABX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-08-19 15:40:58 +00:00
parent 7945bfb41d
commit 196be0f137
25 changed files with 106 additions and 455 deletions

View File

@@ -985,8 +985,8 @@ void wxGridSizer::RecalcSizes()
wxSize wxGridSizer::CalcMin()
{
int nitems, nrows, ncols;
if ( (nitems = CalcRowsCols(nrows, ncols)) == 0 )
int nrows, ncols;
if ( CalcRowsCols(nrows, ncols) == 0 )
return wxSize(10, 10);
// Find the max width and height for any component