You have not spaced the letters correctly or undelined the words concerned. It has nothing to do with reported speech or the tense of 'wish'. 'Wish' is a verb that takes a subjunctive subordinate verb: She wishes she had...
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.