Ticket #14690 (closed defect: fixed)
wxStackWalker doesn't list the function it is within
|Reported by:||jbbbms||Owned by:|
If obj is a local wxStackWalker object within function foo, then obj.Walk(no_mater_what) won't include foo in the list reported.
The stable manual says "Walk() frame itself is not included if skip >= 1", which kind of implies "Walk frame itself is included if skip is equal to zero", but it never happened.
After applying this simple patch, the list reported by obj.Walk() will now contain foo as the first item, and obj.Walk(0) will contain Walk as well.