If you've got a massive bump ie obviously pregnant, not just a bit podgy, you can pretty much get away with anything.
I had one (black) maternity dress. It had to do anything that required more than jeans or work wear! And, yes, it went to a wedding.