Wx aui experimental fixes

This removes all internal usage of deprecated 2.8 API so that wxAui can be safely compiled when 2.8 compatibility is switched off.