fix some asserts booting up Editor with wx2.9.5