diff options
| author | shuffle2 <godisgovernment@gmail.com> | 2014-05-21 21:54:00 -0700 |
|---|---|---|
| committer | shuffle2 <godisgovernment@gmail.com> | 2014-05-21 21:54:00 -0700 |
| commit | c3086577798c81cacb39133a666fafd1f52160ce (patch) | |
| tree | cd80c68ebef6ab7ea8db0a66bfd13504df82108c /Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp | |
| parent | 7a7aa8c5a3909727ad3bd1b3d5300b0c6ad47e46 (diff) | |
| parent | 554207a87c2e47f61d584c55ca01be3a0424606f (diff) | |
Merge pull request #376 from lioncash/wx
Wx cleanup
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp b/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp index 5ef966b0fd..bb25d97fcc 100644 --- a/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp +++ b/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp @@ -25,7 +25,7 @@ wxString CDSPRegTable::GetValue(int row, int col) switch (col) { case 0: return StrToWxStr(pdregname(row)); - case 1: return wxString::Format(wxT("0x%04x"), DSPCore_ReadRegister(row)); + case 1: return wxString::Format("0x%04x", DSPCore_ReadRegister(row)); default: return wxEmptyString; } } @@ -56,7 +56,7 @@ wxGridCellAttr *CDSPRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKi { wxGridCellAttr *attr = new wxGridCellAttr(); - attr->SetBackgroundColour(wxColour(wxT("#FFFFFF"))); + attr->SetBackgroundColour(*wxWHITE); switch (col) { @@ -69,7 +69,7 @@ wxGridCellAttr *CDSPRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKi } if (col == 1) - attr->SetTextColour(m_CachedRegHasChanged[row] ? wxColor(wxT("#FF0000")) : wxColor(wxT("#000000"))); + attr->SetTextColour(m_CachedRegHasChanged[row] ? *wxRED : *wxBLACK); attr->IncRef(); return attr; |
