> So in one way, it might come down to how you interpret this paragraph. Under the latter interpretation, then yes, a spell duplicated by Wish was 'Cast'. There wouldn't be any way to resolve its effects otherwise.
Under the former interpretation... Well, unless someone finds the smoking gun I missed, then it comes down to what your DM says. — Me, I said that