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.