DolphinWX: Get rid of an unneccessary cast in CodeWindow

CFrame inherits from CRenderFrame which inherits from wxFrame which
eventually inherits from wxWindow, so this cast is not required.
Merge pull request #598 from lioncash/casts

DolphinWX: Get rid of an unneccessary cast in CodeWindow