From 2052bb8bea7cd502b132be9652e30d46d468137d Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 14 Jan 2017 22:34:49 +0100 Subject: [PATCH] Remove seemingly unused debug UI strings wxChoice controls don't display any titles. By the way, why is the file called DebuggerPanel.cpp even though it implements the Video debug panel specifically? --- Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp b/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp index 2b1e8b1513..01d2cf19ba 100644 --- a/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp +++ b/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp @@ -90,8 +90,7 @@ void GFXDebuggerPanel::CreateGUIControls() wxDefaultValidator, _("Count")); m_pCount->SetMinSize(WxUtils::GetTextWidgetMinSize(m_pCount, 10000)); - m_pPauseAtList = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, nullptr, 0, - wxDefaultValidator, _("PauseAtList")); + m_pPauseAtList = new wxChoice(this, wxID_ANY); for (int i = 0; i < numPauseEventMap; i++) { m_pPauseAtList->Append(pauseEventMap[i].ListStr); @@ -130,8 +129,7 @@ void GFXDebuggerPanel::CreateGUIControls() m_pButtonClearPixelShaderCache->Bind(wxEVT_BUTTON, &GFXDebuggerPanel::OnClearPixelShaderCacheButton, this); - m_pDumpList = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, nullptr, 0, - wxDefaultValidator, _("DumpList")); + m_pDumpList = new wxChoice(this, wxID_ANY); m_pDumpList->Insert(_("Pixel Shader"), 0); m_pDumpList->Append(_("Vertex Shader")); m_pDumpList->Append(_("Pixel Shader Constants"));