Fixed wx2.8 compile problems