Skip to content

Commit

Permalink
DolphinWX: Get rid of an unneccessary cast in CodeWindow
Browse files Browse the repository at this point in the history
CFrame inherits from CRenderFrame which inherits from wxFrame which
eventually inherits from wxWindow, so this cast is not required.
  • Loading branch information
lioncash committed Jul 11, 2014
1 parent a546ef3 commit 32d53c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Debugger/CodeWindow.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 32d53c7

Please sign in to comment.