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/PatchAddEdit.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/PatchAddEdit.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/PatchAddEdit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/PatchAddEdit.cpp b/Source/Core/DolphinWX/PatchAddEdit.cpp index c7e8e0677b..2dd3454d77 100644 --- a/Source/Core/DolphinWX/PatchAddEdit.cpp +++ b/Source/Core/DolphinWX/PatchAddEdit.cpp @@ -72,7 +72,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection) EditPatchName->SetValue(currentName); wxStaticText* EditPatchOffsetText = new wxStaticText(this, ID_EDITPATCH_OFFSET_TEXT, _("Offset:")); EditPatchOffset = new wxTextCtrl(this, ID_EDITPATCH_OFFSET); - EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), tempEntries.at(0).address)); + EditPatchOffset->SetValue(wxString::Format("%08X", tempEntries.at(0).address)); EntrySelection = new wxSpinButton(this, ID_ENTRY_SELECT); EntrySelection->SetRange(0, (int)tempEntries.size()-1); EntrySelection->SetValue((int)tempEntries.size()-1); @@ -83,7 +83,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection) EditPatchType->SetSelection((int)tempEntries.at(0).type); wxStaticText* EditPatchValueText = new wxStaticText(this, ID_EDITPATCH_VALUE_TEXT, _("Value:")); EditPatchValue = new wxTextCtrl(this, ID_EDITPATCH_VALUE); - EditPatchValue->SetValue(wxString::Format(wxT("%0*X"), PatchEngine::GetPatchTypeCharLength(tempEntries.at(0).type), tempEntries.at(0).value)); + EditPatchValue->SetValue(wxString::Format("%0*X", PatchEngine::GetPatchTypeCharLength(tempEntries.at(0).type), tempEntries.at(0).value)); wxButton *EntryAdd = new wxButton(this, ID_ENTRY_ADD, _("Add")); EntryRemove = new wxButton(this, ID_ENTRY_REMOVE, _("Remove")); if ((int)tempEntries.size() <= 1) @@ -201,9 +201,9 @@ void CPatchAddEdit::UpdateEntryCtrls(PatchEngine::PatchEntry pE) { sbEntry->GetStaticBox()->SetLabel(wxString::Format(_("Entry %d/%d"), currentItem, (int)tempEntries.size())); - EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), pE.address)); + EditPatchOffset->SetValue(wxString::Format("%08X", pE.address)); EditPatchType->SetSelection(pE.type); - EditPatchValue->SetValue(wxString::Format(wxT("%0*X"), + EditPatchValue->SetValue(wxString::Format("%0*X", PatchEngine::GetPatchTypeCharLength(pE.type), pE.value)); } |
