I tested it with wx2.6.4. There is no error like this. I am not able to reproduce the error with wxWidgets2.6.4.