slight fix for wx-2.8