WETTING TRANSITIONS AT NANOSTRUCTURED SURFACES