I don't think gender discrimination is taught. I wasn't taught it, but I still catch myself being more careful around men than women, because men are more intimidating. Treading carefully around men is self-preservation. Treading carefully around women is a voluntary decision.
Women in managerial positions should not take it personally when people call them names behind their backs. Their male counterparts are also called names behind their backs. That's the fate of managers everywhere.