Fixed wx 2.8.12 problem