summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-01-14 22:34:49 +0100
committerJosJuice <josjuice@gmail.com>2017-01-14 22:34:49 +0100
commit2052bb8bea7cd502b132be9652e30d46d468137d (patch)
treece3d86b54558778e8efacc71f03ef1db340b4e52 /Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp
parenta0ee1be47f818bef3111098b05eeb8e43807485f (diff)
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?
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp6
1 files 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"));