oops, wx2.8 compatibility fixes