Fix for compiling with wx2.8