From 32d53c7d1dc925e027be0823257467539ce8dd77 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 10 Jul 2014 20:26:08 -0400 Subject: [PATCH] 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. --- Source/Core/DolphinWX/Debugger/CodeWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp index b8185a85cc..e1c3aaf8ae 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp @@ -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)