fixes for wx-3.0