summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2016-11-02 17:58:59 +0100
committerGitHub <noreply@github.com>2016-11-02 17:58:59 +0100
commit25070d149e46f4371f2b7ea46a10a510da6eb5c8 (patch)
treec7f0fa98a3a7f4d26f7c8a63de942c9690300c8f /Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp
parent342c053bf5fbd6775822467b48b548b9e458e2a5 (diff)
parent3c6742f66f4a165edc0e6e03e132aed4cce29cec (diff)
Merge pull request #4412 from JosJuice/more-debug-text
More debug text fixes
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp b/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp
index 0503d778a9..5326212275 100644
--- a/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp
+++ b/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp
@@ -116,15 +116,17 @@ void GFXDebuggerPanel::CreateGUIControls()
m_pButtonClearTextureCache->Bind(wxEVT_BUTTON, &GFXDebuggerPanel::OnClearTextureCacheButton,
this);
+ const wxString clear_vertex_shaders = _("Clear Vertex Shaders");
m_pButtonClearVertexShaderCache =
- new wxButton(this, wxID_ANY, _("Clear V Shaders"), wxDefaultPosition, wxDefaultSize, 0,
- wxDefaultValidator, _("Clear V Shaders"));
+ new wxButton(this, wxID_ANY, clear_vertex_shaders, wxDefaultPosition, wxDefaultSize, 0,
+ wxDefaultValidator, clear_vertex_shaders);
m_pButtonClearVertexShaderCache->Bind(wxEVT_BUTTON,
&GFXDebuggerPanel::OnClearVertexShaderCacheButton, this);
+ const wxString clear_pixel_shaders = _("Clear Pixel Shaders");
m_pButtonClearPixelShaderCache =
- new wxButton(this, wxID_ANY, _("Clear P Shaders"), wxDefaultPosition, wxDefaultSize, 0,
- wxDefaultValidator, _("Clear P Shaders"));
+ new wxButton(this, wxID_ANY, clear_pixel_shaders, wxDefaultPosition, wxDefaultSize, 0,
+ wxDefaultValidator, clear_pixel_shaders);
m_pButtonClearPixelShaderCache->Bind(wxEVT_BUTTON,
&GFXDebuggerPanel::OnClearPixelShaderCacheButton, this);