schedulegraph: fix for wx2.8