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/RegisterView.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/RegisterView.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/RegisterView.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/DolphinWX/Debugger/RegisterView.cpp b/Source/Core/DolphinWX/Debugger/RegisterView.cpp index 8d44cab4e6..a2338d5bd7 100644 --- a/Source/Core/DolphinWX/Debugger/RegisterView.cpp +++ b/Source/Core/DolphinWX/Debugger/RegisterView.cpp @@ -55,10 +55,10 @@ wxString CRegTable::GetValue(int row, int col) switch (col) { case 0: return StrToWxStr(GetGPRName(row)); - case 1: return wxString::Format(wxT("%08x"), GPR(row)); + case 1: return wxString::Format("%08x", GPR(row)); case 2: return StrToWxStr(GetFPRName(row)); - case 3: return wxString::Format(wxT("%016llx"), riPS0(row)); - case 4: return wxString::Format(wxT("%016llx"), riPS1(row)); + case 3: return wxString::Format("%016llx", riPS0(row)); + case 4: return wxString::Format("%016llx", riPS1(row)); default: return wxEmptyString; } } @@ -69,7 +69,7 @@ wxString CRegTable::GetValue(int row, int col) switch (col) { case 0: return StrToWxStr(special_reg_names[row - 32]); - case 1: return wxString::Format(wxT("%08x"), GetSpecialRegValue(row - 32)); + case 1: return wxString::Format("%08x", GetSpecialRegValue(row - 32)); default: return wxEmptyString; } } @@ -144,7 +144,7 @@ wxGridCellAttr *CRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKind) { wxGridCellAttr *attr = new wxGridCellAttr(); - attr->SetBackgroundColour(wxColour(wxT("#FFFFFF"))); //wxWHITE + attr->SetBackgroundColour(*wxWHITE); attr->SetFont(DebuggerFont); switch (col) @@ -169,7 +169,7 @@ wxGridCellAttr *CRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKind) case 4: red = row < 32 ? m_CachedFRegHasChanged[row][col-3] : false; break; } - attr->SetTextColour(red ? wxColor(wxT("#FF0000")) : wxColor(wxT("#000000"))); + attr->SetTextColour(red ? *wxRED : *wxBLACK); attr->IncRef(); return attr; } |
