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?
This commit is contained in:
parent
a0ee1be47f
commit
2052bb8bea
|
@ -90,8 +90,7 @@ void GFXDebuggerPanel::CreateGUIControls()
|
||||||
wxDefaultValidator, _("Count"));
|
wxDefaultValidator, _("Count"));
|
||||||
m_pCount->SetMinSize(WxUtils::GetTextWidgetMinSize(m_pCount, 10000));
|
m_pCount->SetMinSize(WxUtils::GetTextWidgetMinSize(m_pCount, 10000));
|
||||||
|
|
||||||
m_pPauseAtList = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, nullptr, 0,
|
m_pPauseAtList = new wxChoice(this, wxID_ANY);
|
||||||
wxDefaultValidator, _("PauseAtList"));
|
|
||||||
for (int i = 0; i < numPauseEventMap; i++)
|
for (int i = 0; i < numPauseEventMap; i++)
|
||||||
{
|
{
|
||||||
m_pPauseAtList->Append(pauseEventMap[i].ListStr);
|
m_pPauseAtList->Append(pauseEventMap[i].ListStr);
|
||||||
|
@ -130,8 +129,7 @@ void GFXDebuggerPanel::CreateGUIControls()
|
||||||
m_pButtonClearPixelShaderCache->Bind(wxEVT_BUTTON,
|
m_pButtonClearPixelShaderCache->Bind(wxEVT_BUTTON,
|
||||||
&GFXDebuggerPanel::OnClearPixelShaderCacheButton, this);
|
&GFXDebuggerPanel::OnClearPixelShaderCacheButton, this);
|
||||||
|
|
||||||
m_pDumpList = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, nullptr, 0,
|
m_pDumpList = new wxChoice(this, wxID_ANY);
|
||||||
wxDefaultValidator, _("DumpList"));
|
|
||||||
m_pDumpList->Insert(_("Pixel Shader"), 0);
|
m_pDumpList->Insert(_("Pixel Shader"), 0);
|
||||||
m_pDumpList->Append(_("Vertex Shader"));
|
m_pDumpList->Append(_("Vertex Shader"));
|
||||||
m_pDumpList->Append(_("Pixel Shader Constants"));
|
m_pDumpList->Append(_("Pixel Shader Constants"));
|
||||||
|
|
Loading…
Reference in New Issue