formatting changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-10-10 01:44:00 +00:00
parent f85d862c23
commit edb89f7e35

View File

@@ -3435,7 +3435,7 @@ wxGridWindow::wxGridWindow( wxGrid *parent,
m_owner = parent; m_owner = parent;
m_rowLabelWin = rowLblWin; m_rowLabelWin = rowLblWin;
m_colLabelWin = colLblWin; m_colLabelWin = colLblWin;
SetBackgroundColour( "WHITE" ); SetBackgroundColour(_T("WHITE"));
} }
@@ -8404,7 +8404,8 @@ void wxGrid::AutoSizeColOrRow( int colOrRow, bool setAsMin, bool column )
} }
} }
if ( column ){ if ( column )
{
SetColSize(col, extentMax); SetColSize(col, extentMax);
if ( !GetBatchCount() ) if ( !GetBatchCount() )
{ {
@@ -8418,7 +8419,8 @@ void wxGrid::AutoSizeColOrRow( int colOrRow, bool setAsMin, bool column )
m_colLabelWin->Refresh( TRUE, &rect ); m_colLabelWin->Refresh( TRUE, &rect );
} }
} }
else{ else
{
SetRowSize(row, extentMax); SetRowSize(row, extentMax);
if ( !GetBatchCount() ) if ( !GetBatchCount() )
{ {