fix for wx2.9, too