diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-05-17 13:17:28 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-05-17 16:25:51 -0400 |
| commit | e1359382be30bb8f61a779846c9ebc1fa72791d0 (patch) | |
| tree | 4c9df69820dc795039928efa619727b73a9766f6 /Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp | |
| parent | 90df5efd01782847f6427efa552b4a2a5a007413 (diff) | |
Kill off _T and wxT macros
Minor other alterations that relate to above as well.
Also added the PanicAlertT version of alerts for some error messages that
use PanicAlert. We want the user to actually understand why the error
occurred.
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; |
