fix wx2.8 compile