fix warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -572,11 +572,11 @@ void wxGridBagSizer::AdjustForOverflow()
|
|||||||
{
|
{
|
||||||
int row, col;
|
int row, col;
|
||||||
|
|
||||||
for (row=0; row<m_rowHeights.GetCount(); row++)
|
for (row=0; row<(int)m_rowHeights.GetCount(); row++)
|
||||||
{
|
{
|
||||||
int rowExtra=INT_MAX;
|
int rowExtra=INT_MAX;
|
||||||
int rowHeight = m_rowHeights[row];
|
int rowHeight = m_rowHeights[row];
|
||||||
for (col=0; col<m_colWidths.GetCount(); col++)
|
for (col=0; col<(int)m_colWidths.GetCount(); col++)
|
||||||
{
|
{
|
||||||
wxGBPosition pos(row,col);
|
wxGBPosition pos(row,col);
|
||||||
wxGBSizerItem* item = FindItemAtPosition(pos);
|
wxGBSizerItem* item = FindItemAtPosition(pos);
|
||||||
@@ -615,11 +615,11 @@ void wxGridBagSizer::AdjustForOverflow()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Now do the same thing for columns
|
// Now do the same thing for columns
|
||||||
for (col=0; col<m_colWidths.GetCount(); col++)
|
for (col=0; col<(int)m_colWidths.GetCount(); col++)
|
||||||
{
|
{
|
||||||
int colExtra=INT_MAX;
|
int colExtra=INT_MAX;
|
||||||
int colWidth = m_colWidths[col];
|
int colWidth = m_colWidths[col];
|
||||||
for (row=0; row<m_rowHeights.GetCount(); row++)
|
for (row=0; row<(int)m_rowHeights.GetCount(); row++)
|
||||||
{
|
{
|
||||||
wxGBPosition pos(row,col);
|
wxGBPosition pos(row,col);
|
||||||
wxGBSizerItem* item = FindItemAtPosition(pos);
|
wxGBSizerItem* item = FindItemAtPosition(pos);
|
||||||
|
Reference in New Issue
Block a user