cleanup for deprecated wx enums