wx 3.0 fixes