The word <em>wishing </em>is used as a participle in this case. Although gerunds and participles look the same, they are used in different senses - gerunds generally denote nouns, whereas participles have more of an adverbial meaning.
"none of women born shall harm macbeth.
Usually it means the style of the writing or speech being used