fix wx < 3.0 compile error