My fixes for wx.lib

In this branch I'll be fixing stuff in wx.lib.