The dynamics of wetting processes