Reduce the scope of some local variables
This commit is contained in:
@@ -597,10 +597,9 @@ void wxGridCellStringRenderer::Draw(wxGrid& grid,
|
||||
int hAlign, vAlign;
|
||||
attr.GetAlignment(&hAlign, &vAlign);
|
||||
|
||||
int overflowCols = 0;
|
||||
|
||||
if (attr.GetOverflow())
|
||||
{
|
||||
int overflowCols = 0;
|
||||
int cols = grid.GetNumberCols();
|
||||
int best_width = GetBestSize(grid,attr,dc,row,col).GetWidth();
|
||||
int cell_rows, cell_cols;
|
||||
|
||||
Reference in New Issue
Block a user