Gene Wilder did not voice any character in Over the Hedge (2006).
He Retired from Acting in 2003 (Last Credit: Will & Grace Guest Spot) and Passed Away in 2016. The Film's Voice Cast Includes:
Wilder's Iconic Voice Roles: Willy Wonka (1971), The Lion in Winter (1968, Voice Only?), But No Animation Work Post-2003.