fixes building against wx 2.9 on wxMAC