Kill off the wx casts within InputCommon and GLInterface.

All because someone didn't actually return the wxWindow handle for the edge case.
Merge pull request #1080 from lioncash/wx-crap

Kill off the wx casts within InputCommon and GLInterface.