Disabled deprecated functions and constants. Also disabled some wxWebkitCtrl stuff since it has been only ported to wxMac.