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:
@@ -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
|
||||
|
Reference in New Issue
Block a user