Traveling Wave Solutions in a Generalized Theory for Macroscopic Capillarity