Reduce the scope of some local variables
This commit is contained in:
parent
af1cf0a5f3
commit
fe1737d399
63 changed files with 163 additions and 152 deletions
|
|
@ -343,13 +343,12 @@ public:
|
|||
wxSize clientSize = GetClientSize();
|
||||
|
||||
wxCoord y = 0;
|
||||
wxCoord x = 0;
|
||||
for ( size_t row = rowFirst; row < rowLast; row++ )
|
||||
{
|
||||
wxCoord rowHeight = OnGetRowHeight(row);
|
||||
dc.DrawLine(0, y, clientSize.GetWidth(), y);
|
||||
|
||||
x = 0;
|
||||
wxCoord x = 0;
|
||||
for ( size_t col = columnFirst; col < columnLast; col++ )
|
||||
{
|
||||
wxCoord colWidth = OnGetColumnWidth(col);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue