However, what drove me to say that is that Freud also believes that events in early life can be major factors in determining the way a person sees and reacts to the opposite sex. The child learns about sexuality from the parents; he/she sees the way the parents interact, identifies themselves with the parent of the same sex, and learns the behavior that parent exhibits towards the opposite sex. He also theorizes that if the opposite sex parent reacts negatively to the experimentation of the child trying to be like the same sex parent, then the child can be inadvertently taught that they are not right for that role, and that could be the cause of things like homosexuality.
In other words, Freud shows favor towards developmental psychology
Now, I also want to state that I am not nearly as sure of the exact outlines and details of this theory; I have been told this by a few people that I believe to be valid sources, but I have not myself had the time (or memory) to check