since you washed it right off, should have no prob with paint...may react with wax that was there, tho -- if any streaks or clouding are visible, the old wax should be removed with prep-sol (aka pre-kleano and other names -- any auto parts store that sells paint to body shops has quarts/ gallons, a quart should do 1/2 a car ez)...use old socks or tee-shirts to do abt 2 ft x 2 ft at a time -- wipe on wet coat of prep-sol, wait 1-2 minutes, wipe with clean rag...do not work in direct sunlight, temp 60-90* F is good...use very light pressure, do not rub long or heavy...allow several days for solvent to evaporate, wash with soap/water, apply new wax.
extended exposure to diesel fuel, gasoline, or road tar will discolor the paint, may even soften it...paint will harden again after contaminant is removed, but may be mechanically damaged by remover, work gently.
many waxes/ polishes contain petroleum ingredients, btw