It probably doesn't feel like it right now but you have done the right thing. It will be painful but not nearly as painful as it would be if you said nothing and let this behaviour continue and (in my experience) escalate over many years before standing up for yourself. Believe me, I know.
I've been estranged for 4yrs now and although I don't post much, I felt I had to reply when I read your post. Things have happened recently that make me kick myself for not acting sooner and nipping it in the bud. To keep the peace, I took every nasty shot she ever fired at me for a decade before I finally said enough but by that time there was a child involved and it was one of the hardest decisions I think I've ever had to make.
It was heart breaking and so very painful in the early days, the child was only 5 at the time. I've recently discovered that she doesn't remember me at all now and that is a HUGE relief because we had formed such a close bond.
I finally have closure and a clear conscience.
You have put your boundaries in place and now everyone knows where they stand, it might just save the relationship before any children come along so well done!
Keep notes or a diary/journal. Someone told me to make a list of all the things that she'd done to me over the years and how they made me feel at the time, then read it back any time I needed reassurance that I had done the right thing because lines do get blurred with time. There are so many things on that list that I don't even need to read the detail, just to look at the length of the list - don't make my mistake, keep your list short.