]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
remove USE_SYS_TYPES_FD_SET definition which is already present in include/wx/msw...
[wxWidgets.git] / src / common / sizer.cpp
index 939150a121ff2dae7636abf5ea88941f7fc0db47..98990a2ee106c0e5e946cfc9f9bf0b80980d2b7b 100644 (file)
@@ -1333,7 +1333,7 @@ int wxGridSizer::CalcRowsCols(int& nrows, int& ncols) const
         ncols = m_cols;
         nrows = m_rows;
 
-        wxASSERT_MSG( ncols*nrows <= nitems, "too many items in grid sizer" );
+        wxASSERT_MSG( ncols*nrows >= nitems, "too many items in grid sizer" );
     }
     else if ( m_cols )
     {