wx backend changes for wxPython Phoenix

I used embedding_in_wx5 for testing and tested against 2.8.12 and 2.95 preview classic and 2.95 Phoenix (snapshot 2.9.5.81 r73883).

Worked against tag 1.2.0 which is what I have installed (Win 7), hope this is fine.