fix wx2.9 compile