Ticket #15035 (closed defect: fixed)
wxGrid infinite loop
|Reported by:||hackish||Owned by:||vadz|
Sorry I don't have the tools here to make a patch...
In grid.cpp line 6694
You have a loop like so:
line = oper.GetLineBefore(this, line);
while ( line >= 0 && oper.GetLineSize(this, line) == 0 );
When line becomes 0 you have an infinite loop.
The fix is simple:
while ( line > 0 && oper.GetLineSize(this, line) == 0 );