Everton and Wigan have agreed a compensation package for manager Roberto Martinez, according to Dave Whelan.