Fixed wx2.8 problem