I do not think you should necessarily feel bad that her happiness affects you. When you are in a marriage or partnership you are like coffee and cream- one needs the other to make a perfect cup of coffee. As long as you are not letting her happiness dictate everything about your mood in a codependent sense I think it makes sense to want her to feel better. What is she doing to change her depression? Is she in therapy or on meds?