That's right, Clive. Aerosol furniture polishes such as Mr Sheen and Pledge contain silicones which are incompatible with wax and will make it hazy. I'm not an expert on finishing but if it ever happened to a piece of my furniture I'd strip the whole wax finish off with white spirits or paraffin, give it a very light scrape with a cabinet scraper, then apply a fresh coat of wax.
I hope your furniture wasn't antique, Clive - the thought of someone wrecking an antique in such a way brings a lump to my throat.