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.
This commit is contained in:
Lioncash 2014-07-10 20:26:08 -04:00
parent a546ef3276
commit 32d53c7d1d

View File

@ -87,7 +87,7 @@ END_EVENT_TABLE()
// Class
CCodeWindow::CCodeWindow(const SCoreStartupParameter& _LocalCoreStartupParameter, CFrame *parent,
wxWindowID id, const wxPoint& position, const wxSize& size, long style, const wxString& name)
: wxPanel((wxWindow*)parent, id, position, size, style, name)
: wxPanel(parent, id, position, size, style, name)
, Parent(parent)
, m_RegisterWindow(nullptr)
, m_BreakpointWindow(nullptr)