Fluid wetting properties and the invasion of square networks.