I had a boss who was besotted with his wife. Talked about her endlessly in the office. He never brought her to a work event, because he wanted to get shit faced and chat crap with colleagues.
He could be ever so slightly flirty but only in terms in banter. No touching, kissing, or anything like that.
He adored his family, his children and his work and he saw his work events as a chance to let his hair down.
No affair, he wasn't gay, he wasn't ashamed of her, and he always went back to her at the end of the night. Come Monday morning he would have a story to tell about what they did the rest of the weekend.
She was/is the love of his life.
I did meet her a couple of times but not at work events. He had a house warming party and she was a plus one at a wedding we were both invited to.
I don't know if that helps or not but I've definitely seen a totally besotted family guy still prefer to have a damn good night out without his wife and the only thing it meant was he could get pretty drunk, be a bit stupid and not have to 'babysit' nor deal with any eye rolling.
When anyone would say 'oh are you bringing your wife to the Christmas party?' His response was always 'hell no! It's my night to get leathered'.
Maybe a difference though, his wife was equally the same and he'd often have to rush home because 'wife's on a night out tonight and I have to get back for the kids'.
Anyway, there you go. I've seen it on the flip side :-) and there was no big secret to it.