From 3c6742f66f4a165edc0e6e03e132aed4cce29cec Mon Sep 17 00:00:00 2001 From: JosJuice Date: Mon, 31 Oct 2016 15:06:27 +0100 Subject: More debug text fixes Also a few small non-debug text changes. --- Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp') 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); -- cgit v1.2.3